Sample configurations
These two files are good examples of the configuration guides AWS will generate to help you get your local routing equipment connected to a managed AWS VPN or Direct Connect resource.
Sample configuration for Cisco hardware
Sample configuration for generic hardware
Connecting to an OpenVPN server within a VPC
Check that NTP is running and create password for openvpn user:
ps aux | grep ntp
sudo passwd openvpn
Create client.ovpn file and install OpenVPN:
nano client.ovpn
sudo apt update
sudo apt install openvpn
Connect to VPN from client:
sudo openvpn --config client.ovpn
View VPN network interface (probably called tun0):
Connect from client to OpenVPN server:
Connect from client to a private instance in the VPC:
ssh -i newcluster.pem ubuntu@