I have a personal VPN that I use while at work.
What I want to do is exclude all of my local traffic from the VPN. Everything in the 10.* range needs to work the same was as when not connected, and all other traffic should go over the VPN.
- 10.x.x.x => goes out eth0
- all others => over ppp0 (vpn)
'vpn on demand' won't work, because I don't want it triggering when I browse a page which has a link to an image on twitter, for fbcdn, etc. and tries to download it.
I have seen a few questions here which do the exact opposite: send only 10.* traffic over VPN. I can't see how to reverse those answers, knowing as little as I do.
Is there any way to do this? I am using a standard PPTP vpn, as well as a L2TP one. The L2TP connects less reliably, if ever, so I prefer to use the PPTP one.
FYI: I run this when google gets blocked too badly over here, since it is the only thing that finds coding questions reliably (and too much content is permablocked on wordpress/blogspot/etc.) Right now I connect & then disconnect once I am done, but during that time I am locked out of svn/file shares/etc, since they are all 10..*