I copied all my config files over to an EC2 instance of RHEL 7.3 and installed openvpn. However, when I try to run sudo openvpn --config ./openvpn.ovpn), the trace ends up showing
Code: Select all
Wed Feb 8 14:52:27 2017 Restart pause, 5 second(s)
Wed Feb 8 14:52:32 2017 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Feb 8 14:52:32 2017 Socket Buffers: R=[87380->87380] S=[16384->16384]
Wed Feb 8 14:52:32 2017 Attempting to establish TCP connection with [AF_INET]<OPENVPN_IP>:443 [nonblock]
Wed Feb 8 14:52:42 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Wed Feb 8 14:52:57 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Wed Feb 8 14:53:13 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Wed Feb 8 14:53:28 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Wed Feb 8 14:53:43 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Wed Feb 8 14:53:58 2017 TCP: connect to [AF_INET]<OPENVPN_IP>:443 failed, will try again in 5 seconds: Connection timed out
Why does the same configuration fail on the cloud VM that succeeds locally on Windows 7 and what should I do to fix it?
This question has also been asked here: http://serverfault.com/questions/831431 ... ent-on-ec2.