I have a network of machines inside an OpenVPN network. With no problem, I can connect into that network from my local machine:
openvpn --config ./myconfig.ovpn --auth-user-pass ./mycredentials
The problem is that I am trying to connect another remote machine (a cloud based VPS) as a client. Using the same config file and credentials on the VPS will not work.
Basically what happens is the machine freezes up. My current shell session stops responding. My only way out of it is to reboot the machine. To make it worse, if I run it as a service (
service openvpn start with a config file in
/etc/openvpn) I cannot even get back into the machine at all. Even after a reboot.
Maybe the connection is being established and it is cutting off my SSH? I'm really not sure. What I really need to figure out though is how to setup a VPS as a client to my VPN and still be able to control the machine.