OpenVPN to VPN service with ssh connection to LAN

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
anon123654
Posts: 4
Joined: Wed Sep 23, 2015 8:24 am

OpenVPN to VPN service with ssh connection to LAN

Post 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

kipsta
Posts: 18
Joined: Sun Jun 10, 2012 8:25 pm
Location: Australia

Re: OpenVPN to VPN service with ssh connection to LAN

Post 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
Router TP Link WDR4300 V1.7 Gargoyle 1.13.0 Ispy 20210723

Post Reply