This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PPTP and default gateway

I am useing V4.022 and when clients use my PPTP Roadwarrior Network Access vpn all their internet trafic goes out my vpn to the internet using my dsl,  I want to use the vpn only for file shareing, remote desktop, not internet traffic.


This thread was automatically locked due to age.
  • if you find a solution, post it here :-)

    afaik, all traffic is routed through the virtual pptp interface and there is no way to change that. at least i dont now :-(

    greets,

    gnjb
  • nosaj,

    you can turn the "Use as default gateway" option for the PPTP connection off, on your client go into the PPTP options, TCP/IP settings, advanced settings... well hidden. This way the PPTP connection is no longer the default gateway. Now you have to route the VPN traffic manually. Lets say your internal network you try to reach is 192.168.0.0/24 and the PPTP address for the RoadWarrior is 1.2.3.4, in this case you will have to set a route on the Windows command line "route add 192.168.0.0 MASK 255.255.255.0 1.2.3.4". You can use the option route -p (persistens) but this might be a problem if a) you assign a dynamic IP to the Roadwarrior or b) the Roadwarrior will also physically connect to the internal network since the route will interferre.

    Maybe a better way to go is the Astaro IPSec client, this way you have better security, advanced features like NAT-T and what you want called split tunneling.