AWS AMI install, fails to connect to VPN

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
topnotchit
OpenVpn Newbie
Posts: 2
Joined: Thu Apr 06, 2017 1:51 pm

AWS AMI install, fails to connect to VPN

Post by topnotchit » Thu Apr 06, 2017 1:58 pm

Hi, I did a search for this info, but could not find the error message.

1) I installed the AWS BYOL AMI quick start applicance and followed this guidehttps://docs.openvpn.net/how-to-tutoria ... art-guide/

2) From Windows 10, I installed the OPENVPN client and tried to VPN in, and get the following error message.
x.x.x.x disconnected
Core Exception: connect error
socket_select_intrupter: A connection attempt failed because the connected party did not properly respond after a ...
then the windows message does not go any furhter in the pop-up

3) I can SSH in successfully with my Private key and password

4) I can logon to the admin page successfully and configure the OPENVPN server.

Any thoughts on what to do next?

topnotchit
OpenVpn Newbie
Posts: 2
Joined: Thu Apr 06, 2017 1:51 pm

Re: AWS AMI install, fails to connect to VPN

Post by topnotchit » Thu Apr 06, 2017 2:54 pm

Additional details:

Client error log:

Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 OpenVPN Management Interface 1.0.0/3.1.1 win x86_64 64-bit [PolarSSL] built on Sep 26 2016 13:15:42
Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 OMI Connecting to [127.0.0.1]:50830 [tcp]
Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 Frame=512/2048/512 mssfix-ctrl=1250
Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 UNUSED OPTIONS
3 [nobind]
16 [sndbuf] [100000]
17 [rcvbuf] [100000]
20 [verb] [3]
30 [CLI_PREF_ALLOW_WEB_IMPORT] [True]
31 [CLI_PREF_BASIC_CLIENT] [False]
32 [CLI_PREF_ENABLE_CONNECT] [True]
33 [CLI_PREF_ENABLE_XD_PROXY] [True]
34 [WSHOST] [x.x.x.x:443]
35 [WEB_CA_BUNDLE] [-----BEGIN CERTIFICATE----- xxx...]
36 [IS_OPENVPN_WEB_CA] [1]
37 [ORGANIZATION] [OpenVPN Technologies, Inc.]

Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 RESOLVE
Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 Contacting x.x.x.x:1194 via UDP
Thu Apr 6 08:43:56 2017 Thu Apr 6 08:43:56 2017 WAIT
Thu Apr 6 08:44:17 2017 Thu Apr 6 08:44:17 2017 DISCONNECTED
Thu Apr 6 08:44:17 2017 Thu Apr 6 08:44:17 2017 CLIENT_EXCEPTION : connect error: socket_select_interrupter: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.: A connection attempt failed because the conn... [FATAL-ERR]
Thu Apr 6 08:44:17 2017 Thu Apr 6 08:44:17 2017 >FATAL:CLIENT_EXCEPTION: connect error: socket_select_interrupter: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.: A connection attempt failed because the conn...

ottafish
OpenVpn Newbie
Posts: 3
Joined: Sat Apr 15, 2017 2:59 am

Re: AWS AMI install, fails to connect to VPN

Post by ottafish » Wed Apr 19, 2017 1:26 am

I know this may be a silly thing, and I apologise for asking...

What rules are in the security group? Do they allow 1194 udp/tcp?
Is there any local firewall or security software on the PC that may be preventing initiated connections?

TiTex
OpenVPN Super User
Posts: 310
Joined: Tue Apr 12, 2011 6:22 am

Re: AWS AMI install, fails to connect to VPN

Post by TiTex » Wed Apr 19, 2017 6:45 am

security groups are not defined by the AMI your are using , you will have to set up your own rules and associate the security group with your EC2 instance

Post Reply