Goal: To selectively route traffic over a VPN, so that general browsing/downloads goes via the normal primary connection, with my business VPN traffic going over the VPN.
I have tried a similar method mentioned here, but no matter how I changed the details it didn't work.
The VPN works, I can connect and route all traffic over it, so that is not the issue.
Home IP: 192.168.34.X
IP from VPN: 192.168.1.X
IP's (via VPN) trying to access in the internal network: 10.4.X.X, 196.220.X.X
How to selectively route traffic for one specified IP adddress through the VPN tunnel (not all traffic)?
Best Answer
Step 1, create two plain text files named ip-up and ip-down in /etc/ppp and make the two files executable:
Step 2, modify the file ip-up, add the following:
Step 3, modify the ip-down, add the following: