1.) server setup & conf
2.) client setup & conf
3.) "route 184.108.40.206 net_gateway" in open VPN config files (220.127.116.11 is for example google.com)
3.b) or host command : "route 18.104.22.168 gw 22.214.171.124" (126.96.36.199 - your existing old non-vpn gateway)
(this is linux syntax, windows syntax is an excersize for the reader)
4.) learn about routing. It is so simple, that you will be ashamed of this email ;-)
I have used the push statement and it seems that it is the correct solution, I have added
Push “route 188.8.131.52 255.255.255.0”
In order to force traffic going to my servers through VPN..now Internet traffic is going through the ISP and the correct push requests and replies are in the logs however if I try to ping or access any of the 184.108.40.206/24 servers I only get timeouts ..ping does not work either..IP forwarding and masquerading is enabled..
Any hints, please ?
From: abalour@xxxxxxxxx [mailto:abalour@xxxxxxxxx] On Behalf Of Ross Cameron
Sent: Wednesday, December 05, 2007 5:27 PM
To: Ali Jawad
Subject: Re: [Openvpn-users] Sending Specific Internet Traffic ThroughVPN and rest through ISP
Surely "push route" statements for you're subnet of hosted IPs will do the trick?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.