OpenVPN Split Tunneling - Amahi on Ubuntu
Posted: Wed Sep 19, 2012 7:24 am
I have an Amahi server running on Ubuntu 12.04. For the most part this is a great setup and meeting my expectations. There is one issue that I would like to figure out. I have OpenVPN running and I am able to VPN into my server from my laptop. I am running Ubuntu 10.04 on the laptop and generally having no issues with that device.
I would like to run the connection in split tunnel mode. Right now when I enable the VPN connection I am able to connect to my Amahi server and all the app/shares I have configured on it. However I cannot browse to any other websites on the Internet in general. A 'netstat -ar' shows that my default route is via the tunnel. I would prefer to have only the traffic destined for the Amahi server going down the VPN tunnel.
What has me confused is that according to my research I should be able to remove the, push "redirect-gateway def1", statement and be able to run in split tunnel. However when I go to the /etc/openvpn/openvpn.conf file that command is not there. Where is OpenVPN picking up the redirect command to change the client default route? Am I looking in the wrong place for the OpenVPN config?
I would like to run the connection in split tunnel mode. Right now when I enable the VPN connection I am able to connect to my Amahi server and all the app/shares I have configured on it. However I cannot browse to any other websites on the Internet in general. A 'netstat -ar' shows that my default route is via the tunnel. I would prefer to have only the traffic destined for the Amahi server going down the VPN tunnel.
What has me confused is that according to my research I should be able to remove the, push "redirect-gateway def1", statement and be able to run in split tunnel. However when I go to the /etc/openvpn/openvpn.conf file that command is not there. Where is OpenVPN picking up the redirect command to change the client default route? Am I looking in the wrong place for the OpenVPN config?