Page 1 of 1

OpenVPN to VPN service with ssh connection to LAN

Posted: Wed Sep 23, 2015 8:38 am
by anon123654
I current have my router setup as an OpenVPN client connected to a VPN service (PIA) using the guide in these forums. What I would also like to be able to do is open up a port, say 443, in order that I can ssh into a machine on the LAN whilst I am away from home. My issue is that currently, with all traffic configured to go through the VPN connection in order to prevent traffic escaping if the connection breaks, I am unable to connect externally to the network.
I am guessing that the solution to my problem may lie in routing and some other configuration changes but I am totally out of my depth in this regard, could somebody please advise on what is required?

Code: Select all

client
dev tun
proto udp
remote aus.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
auth-user-pass /etc/openvpn/auth.txt
comp-lzo
verb 1

ca    /etc/openvpn/local_ca.crt
cert  /etc/openvpn/local.crt
key   /etc/openvpn/local.key

Re: OpenVPN to VPN service with ssh connection to LAN

Posted: Thu Sep 24, 2015 2:47 am
by kipsta
Sorry I can't help you with your question but you might be able to help me in a round about sort of way.
I too am with PIA and have been trying to set up OpenVPN using the instructions on this site but keep failing.
Would you be able to provide a run down of how you set it up.

Thanks
kip