Is it possible to test an openvpn connection from inside a lan?
Client is windows 7/64 at 192.168.1.50, server is running on a tomato router with external ip xx.xx.xx.xx
The openvpn log shows:
Thu Feb 06 11:25:43 2014 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Thu Feb 06 11:25:43 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Thu Feb 06 11:25:43 2014 Need hold release from management interface, waiting...
Thu Feb 06 11:25:43 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Thu Feb 06 11:25:43 2014 MANAGEMENT: CMD 'state on'
Thu Feb 06 11:25:43 2014 MANAGEMENT: CMD 'log all on'
Thu Feb 06 11:25:43 2014 MANAGEMENT: CMD 'hold off'
Thu Feb 06 11:25:43 2014 MANAGEMENT: CMD 'hold release'
Thu Feb 06 11:25:43 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Feb 06 11:25:43 2014 MANAGEMENT: >STATE:1391703943,RESOLVE,,,
Thu Feb 06 11:25:43 2014 UDPv4 link local: [undef]
Thu Feb 06 11:25:43 2014 UDPv4 link remote: [AF_INET]xx.xx.xx.xx:443
Thu Feb 06 11:25:43 2014 MANAGEMENT: >STATE:1391703943,WAIT,,,
Thu Feb 06 11:26:43 2014 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Feb 06 11:26:43 2014 TLS Error: TLS handshake failed
Thu Feb 06 11:26:43 2014 SIGUSR1[soft,tls-error] received, process restarting
Thu Feb 06 11:26:43 2014 MANAGEMENT: >STATE:1391704003,RECONNECTING,tls-error,,
Thu Feb 06 11:26:43 2014 Restart pause, 2 second(s)
Thu Feb 06 11:26:45 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Feb 06 11:26:45 2014 MANAGEMENT: >STATE:1391704005,RESOLVE,,,
Thu Feb 06 11:26:45 2014 UDPv4 link local: [undef]
Thu Feb 06 11:26:45 2014 UDPv4 link remote: [AF_INET]xx.xx.xx.xx:443
Thu Feb 06 11:26:45 2014 MANAGEMENT: >STATE:1391704005,WAIT,,,
Thu Feb 06 11:27:45 2014 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Feb 06 11:27:45 2014 TLS Error: TLS handshake failed
Thu Feb 06 11:27:45 2014 SIGUSR1[soft,tls-error] received, process restarting
Thu Feb 06 11:27:45 2014 MANAGEMENT: >STATE:1391704065,RECONNECTING,tls-error,,
Thu Feb 06 11:27:45 2014 Restart pause, 2 second(s)
and the router log shows:
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: MULTI: multi_create_instance called
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 Re-using SSL/TLS context
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 LZO compression initialized
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Feb 6 12:03:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 TLS: Initial packet from 192.168.1.50:50721, sid=50cd5690 be6d95da
Feb 6 12:04:08 Buffalo-tomato daemon.err openvpn[545]: 192.168.1.50:50721 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Feb 6 12:04:08 Buffalo-tomato daemon.err openvpn[545]: 192.168.1.50:50721 TLS Error: TLS handshake failed
Feb 6 12:04:08 Buffalo-tomato daemon.notice openvpn[545]: 192.168.1.50:50721 SIGUSR1[soft,tls-error] received, client-instance restarting