I looked at this but it appears to be a guide to recovering a borked setup.
Using PIA (Private Internet Access) and Openvpn, I can setup my raspberry to use a VPN. However, connecting to its public address (forwarded through the router) no longer works. By no longer working, I mean the raspberry does not receive the connection. I even stopped the ssh process and started a netcat listen on port 22 to see if it got anything - but it doesn't (it did through LAN).
Connecting through the LAN works fine as usual for ssh.
Stopping the VPN services restores ssh access.
Is it possible to have both the publicly forwarded 22 port and using a VPN work at the same time?
Command to initiate the VPN access
cd /etc/openvpn/pia && sudo openvpn file.ovpn
client dev tun proto udp remote xxxx.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 comp-lzo verb 1 reneg-sec 0 crl-verify crl.rsa.2048.pem ca ca.rsa.2048.crt disable-occ auth-user-pass xxxx