In the next step, go to “Action” (20) tab and in the “Action” (21) field choose “masquerade”.
Click“OK” (22)

Go to the“Mangle” (23) tab and add new rule (24)

In the “New Mangle Rule”, select “General” (25) tab, and choose “Chain: prerouting” (26).
In the “Src Address” (27) field, type either the IP, or the IP range which you wish to have routed through the VPN tunnel.

In this example, we are using source address in order to identify packets which should be routed throught VPN (192.168.88.2-192.168.88.254). You can also use other means of identification or a combination of identifiers such as destination port and source address. Keep in mind, you need to make sure that traffic originating from the MikroTik router is exluded from this marking or it will attempt to communicate with the VPN server through the VPN itself, causing the connection to brake.

Go to “Action” (28) tab and in the “Action” field choose “mark routing” (29)

In the “New Routing Mark” (30) field, type “VPNonline”

To save the settings click “Apply: (31) and “OK” (32)

Go to “IP” (33) and “Routes” (34) tab

Select “Routes” (35) tab, and add New Route (36)

In the “General” (37) tab, choose:

“Dst. Address” (38) – 0.0.0.0/0

“Gateway” (39) – VPNonline-PPTP

“Routing Mark” (40) – VPNonline

To save settings, click “OK” (41)

The new route has been added (42) and the VPN connection should be established