Allow SSH outside of VPN client after connection.

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
nott240
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 19, 2017 8:13 am

Allow SSH outside of VPN client after connection.

Post by nott240 » Thu Jun 22, 2017 6:16 pm

Can you guys please help me? I scrapped the entire internet looking for solutions, tried everything, but I still can't make it work.

It's a Ubuntu 16.04 LTS on a Google Compute Engine (GCE) vm instance. My provider is privateinternetaccess. I have given me a static public address 104.155.129.108, and my default network is 10.128.0.0/20 and the gateway 10.128.0.1. I want to be able to access my VM with my non-vpn public IP.

I tried almost everything related I could find in the internet...

This is my client file

Code: Select all

client
dev tun
proto udp
remote mexico.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass login.conf
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ
I'm on the latest OpenVPN compiled from source, and checked with openvpn --version. Also I use a VPN with my home PC too so my public IP keeps changing so it can't be a solution that uses adding a static route to it.

Please guys help me :( I would list everything I tried but I guess it won't add anything

Post Reply