Need some help with OpenVPN + routing
I have searched high and low and yet to find an actual working solution for this...
first of all my setup :
Ubuntu 14.04 server, full time VPN connection to PIA
Setup as proxy server for LAN clients, works great and clients confirmed to be tunneling through the proxy/VPN
Connected through terminal, server does not have a GUI and VPN is established by init.d on boot.
I want to open SSH access to this server to the internet over port 22, using my actual IP from my isp. (connecting through my router over port 22 to the internal ip of the server),
If I add a "route-nopull" this allows me to connect to the server as expected externally. However this causes the server to no longer route it's internet traffic over the vpn.
I have tried adding a route in the config file to my local network, this does nothing, traffic to the local network works without issue without it. It is only coming from the public ip of my router > internal server ip that does not work while connected to VPN.
Any suggestions?
Comments