I set up a pptp vpn server and can connect to it with my laptop without any problems.
However, connecting to the vpn causes issue with routing (i.e. I am not about to connect to the outside web). To solve this on my laptop (I'm using Ubuntu 14.04), I went into Edit Connections > Wireless > (Network Name) > edit > route and checked the "use this connection only for resources on its network".
This allowed me to connect to the outside web when connected to my vpn, but as soon as I disconnect, I lost access to the outside web until I until I unset the "use this connection only for resources on its network" option.
It seems like there must be a better way than manually setting and unsetting this option. Ideally I would like:
connected to vpn: all traffic on my laptop goes through vpn
not connected to vpn: all traffic goes through my whatever network I'm on
Any idea?