OpenVPN client on Amazon EC2

Posted by Matt Culbreth on Server Fault See other posts from Server Fault or by Matt Culbreth
Published on 2012-07-03T18:54:17Z Indexed on 2012/07/03 21:17 UTC
Read the original article Hit count: 230

Filed under:
|
|

I have an account with an OpenVPN service, and I'd like to get that running on my EC2 instance running Ubuntu 12.04.

I have my config file in /etc/openvpn, and it connects fine when I run sudo openvpn --config matt.ovpn. However, I then lose connectivity to the EC2 machine, and I can't SSH back to it until I reboot.

Previously I have done things like sudo ip rule add from IP_ADDRESS table 10 and then sudo ip route add default via GATEWAY_IP table 10, but that's not working on EC2.

Any ideas? My private IP address right now is 10.209.29.XXX and my gateway is 10.209.29.1.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about amazon-ec2