Hi,
I am trying to redirect traffic to a specific IP only through Openvpn.
I am using openvpn Access Server to manage the server, on my CentOS 6 VPS.
I have disabled "Should client Internet traffic be routed through the VPN?"
in the VPN Settings, and added
push "route 54.234.36.132 255.255.255.255"
to the additional server config directives (54.234.36.132 is
http://geoip.hidemyass.com/).
The result is my normal Internet traffic is not routed through the VPN, but
pinging or traceroute to 54.234.36.132 just hangs.
My routing table is as such :
(XXX.XXX.XXX.XXX is my VPN server IP)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.33.254 0.0.0.0 UG 0 0 0
wlan0
54.234.36.132 172.27.232.1 255.255.255.255 UGH 101 0 0 tun0
XXX.XXX.XXX.XXX 192.168.33.254 255.255.255.255 UGH 0 0 0
wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0
wlan0
172.27.224.0 172.27.232.1 255.255.240.0 UG 101 0 0 tun0
172.27.232.0 0.0.0.0 255.255.248.0 U 0 0 0 tun0
192.168.33.0 0.0.0.0 255.255.255.0 U 2 0 0
wlan0
213.186.33.99 172.27.232.1 255.255.255.255 UGH 101 0 0 tun0
It looks like I am missing a route back from my VPN server to my IP.
How can I set this up in Openvpn AS ?
Thanks,
Ronan
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users