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?
OpenVPN Split Tunneling - Amahi on Ubuntu
Re: OpenVPN Split Tunneling - Amahi on Ubuntu
It is possible that it might be in /etc/default/openvpn.conf or maybe there is a settings file located elsewhere.
Might wanna google it specific for Ubuntu. I would think someone has already figured this out.
Might wanna google it specific for Ubuntu. I would think someone has already figured this out.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: OpenVPN Split Tunneling - Amahi on Ubuntu
I would have thought so too but my googling has not yielded any results, hence my post to the forum. I can't find any references to some other openvpn.conf file other than the one in /etc/openvpn.
The /etc/default/openvpn file appears to have a few parameters that apply to system startup and bringing up the OpenVPN server.
The /etc/default/openvpn file appears to have a few parameters that apply to system startup and bringing up the OpenVPN server.
Re: OpenVPN Split Tunneling - Amahi on Ubuntu
Maybe try doing a search for VPN on the HDA.
That should show you were all files named openvpn* are located. One of them might yield the one you need.
Code: Select all
sudo find / -name openvpn*
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 11 guests