What's new

pptp default route

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

zzlab

New Around Here
After establishing a pptp client connection from the router - rt-ac68u - a new default route is added to the routing table. This means all traffic is going through this newly added default route. What I want is only route ip traffic through the vpn for this specific subnet.
I could manually achieve this by removing (using putty) this route from the routing table and adding the specific one, like so:
route del default gw 192.168.2.4
route add -net 192.168.2.0 netmask 255.255.255.0 dev ppp5

How can I achieve this automatically, whenever the pptp client connection is establsihed this should be the default behaviour.
 
After establishing a pptp client connection from the router - rt-ac68u - a new default route is added to the routing table. This means all traffic is going through this newly added default route. What I want is only route ip traffic through the vpn for this specific subnet.
I could manually achieve this by removing (using putty) this route from the routing table and adding the specific one, like so:
route del default gw 192.168.2.4
route add -net 192.168.2.0 netmask 255.255.255.0 dev ppp5

How can I achieve this automatically, whenever the pptp client connection is establsihed this should be the default behaviour.

Look for an option for split tunneling.

http://www.smallnetbuilder.com/forums/showthread.php?p=107204
Might help a little bit.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top