How direct all traffic through a PPTP interface

Dear All, I apologize if this is a silly question, but I have spent several hours in front of my board with no success.

I am using a Router board with

  • one WAN interface connected to the internet (and set as DEFAULT GATEWAY),
  • and another connected to my LAN
  • I have left the default NAT rule in place (with masquarade) so that LAN traffic is routed to the internet

Now, I have setup a PPTP client Interface that dials into a VPN server, and now I’d like all my traffic on the LAN to be channelled to that interface

Sounds simple, but tried several scenarios neither of which worked. (I am using winbox to configure)

  • I know somehow so added a new default route to be the new PPTP interface, but when I do that my PPTP client drops the connection.

  • I also tried to define a new NAT rule with Out-Interface defined as the VPN this time (since I imagine my LAN traffic needs to pass through NAT first before going out

I know this can be done, and shouldn’t be too hard, but can’t figure it out…

Any guidance is appreciated.

First add a new mark-routing rule in the mangle firewall for the trafficc from your lan network.
Add a default gateway for this mark in ip routes tab with gateway=pptp-interface.

Remember add a masquerade rule with out-interface=pptp-interface

Send from my mobile phone using Tapatalk.

Thanks… tried it and works like a charm :wink: