Client stuck on connecting

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
myatix
OpenVpn Newbie
Posts: 4
Joined: Fri Nov 25, 2011 8:03 pm

Client stuck on connecting

Post by myatix » Mon Nov 28, 2011 9:19 pm

Hi All,

First I should say I am new to openvpn... I have just finished configuring a new OpenVPN appliance server and am now stuck as the client doesn't seem to want to connect...

It appears that it get stuck on connecting when I look at the client...

Can someone tell me where I am going wrong?

Here is my log file...

Do I need to open any additional ports in my firewall apart from the default UDP 1194?

Thanks

Mon Nov 28 22:09:38 2011 OpenVPNAS 2.1.3iOAS Win32-MSVC++ [SSL] [LZO2] built on Feb 28 2011
Mon Nov 28 22:09:38 2011 MANAGEMENT: Connected to management server at 127.0.0.1:57764
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'log on'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'state on'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'echo on'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'bytecount 5'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'hold off'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'hold release'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'username "Auth" "openvpn"'
Mon Nov 28 22:09:38 2011 MANAGEMENT: CMD 'password [...]'
Mon Nov 28 22:09:38 2011 NOTE: OpenVPNAS 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Nov 28 22:09:38 2011 Control Channel Authentication: tls-auth using INLINE static key file
Mon Nov 28 22:09:38 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Nov 28 22:09:38 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Nov 28 22:09:38 2011 LZO compression initialized
Mon Nov 28 22:09:38 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Mon Nov 28 22:09:38 2011 Socket Buffers: R=[8192->100000] S=[8192->100000]
Mon Nov 28 22:09:38 2011 MANAGEMENT: >STATE:1322514578,RESOLVE,,,
Mon Nov 28 22:09:38 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Mon Nov 28 22:09:38 2011 Local Options hash (VER=V4): '504e774e'
Mon Nov 28 22:09:38 2011 Expected Remote Options hash (VER=V4): '14168603'
Mon Nov 28 22:09:38 2011 UDPv4 link local: [undef]
Mon Nov 28 22:09:38 2011 UDPv4 link remote: xxx.xxx.xxx.xxx:1194
Mon Nov 28 22:09:38 2011 MANAGEMENT: >STATE:1322514578,WAIT,,,
Mon Nov 28 22:10:38 2011 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Nov 28 22:10:38 2011 TLS Error: TLS handshake failed
Mon Nov 28 22:10:38 2011 TCP/UDP: Closing socket
Mon Nov 28 22:10:38 2011 SIGUSR1[soft,tls-error] received, process restarting
Mon Nov 28 22:10:38 2011 MANAGEMENT: >STATE:1322514638,RECONNECTING,tls-error,,
Mon Nov 28 22:10:38 2011 Restart pause, 2 second(s)
Mon Nov 28 22:10:40 2011 NOTE: OpenVPNAS 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Nov 28 22:10:40 2011 Control Channel Authentication: tls-auth using INLINE static key file
Mon Nov 28 22:10:40 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Nov 28 22:10:40 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Nov 28 22:10:40 2011 LZO compression initialized
Mon Nov 28 22:10:40 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Mon Nov 28 22:10:40 2011 Socket Buffers: R=[8192->100000] S=[8192->100000]
Mon Nov 28 22:10:40 2011 MANAGEMENT: >STATE:1322514640,RESOLVE,,,
Mon Nov 28 22:10:40 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Mon Nov 28 22:10:40 2011 Local Options hash (VER=V4): '504e774e'
Mon Nov 28 22:10:40 2011 Expected Remote Options hash (VER=V4): '14168603'
Mon Nov 28 22:10:40 2011 UDPv4 link local: [undef]
Mon Nov 28 22:10:40 2011 UDPv4 link remote: xxx.xxx.xxx.xxx:1194
Mon Nov 28 22:10:40 2011 MANAGEMENT: >STATE:1322514640,WAIT,,,

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: Client stuck on connecting

Post by Mimiko » Tue Nov 29, 2011 7:32 am

UDP port 1194 is not accesible. Check firewall and forwardings.

Post Reply