Manage Traffic To OpenVPN Server
Posted on 2007-12-05
I have installed the OpenVPN server and I have installed the openvpn gui on XP SP2 the client connects successfully..I need to achieve the following scenario..I want some traffic to some specific server to go through the VPN server while I want all other Internet traffic to go through the ISP.
Route A : XP VPN Interface 10.0.8.6---> 10.0.8.1 (VPN Interface) + (184.108.40.206 public IP + Interface) VPN Server --> Servers with same public IP subnet like VPN server
Route B: XP ethernet Interface class C IP --> Gateway --> ISP --> Internet
I want to start the VPN connection and have all traffic to my pulic servers routed through VPN and all the traffic for the Internet to pass through the ISP.
I have used the redirect-gateway directive but that did pipe all traffic to the Internet through the VPN server.
I have used push 'route 220.127.116.11 255.255.255.0' that allowed me to pipe Internet traffic through the ISP but all traffic to 18.104.22.168/24 timed out even though I have masquerading and ip forwarding enabled on the OpenVPN server..
Any suggestions ?