Installing OpenVPN in Amazon EC2?

view full story

http://serverfault.com – I'm trying to install openvpn in my amazon ec2 instance. I tried the following site for my setup. In my client side I run the following command : sudo openvpn --proto tcp-client --remote x.x.x.x.x.x. --port 80 --dev tun1 --secret ovpn.key --redirect-gateway def1 --ifconfig --daemon And also the following commands: sudo mv /etc/resolv.conf /etc/resolv.conf.save echo "nameserver $Of-My-Ec2-Machine-IP" | sudo tee /etc/resolv.conf But once I run this command. And I tried to connect to my internet from the client side. But it fails. And also doing : sudo /etc/init.d/ (HowTos)