this is my first post here, hope I made correct formating
I've set up an openvpn server on an openVZ VPS. struggling for 2 days but connection always failed by:
TLS Error: TLS key negotiation failed to occur within 60 seconds
TLS Error: TLS handshake failed
firewalls (iptables on server flushed, win firewall disabled) both sides has valid IPs and there should be nothing blocking traffic in between.
all the possible solutions I tried but with no luck: -I installed a vm locally, setup the openvpn server and client,created server and client keys and configuration files, connected successfully. then transferred configurations and keys to the VPS and client, change IP settings. still the TLS error
-I tried reversing the connection, set up the openVPN server on my client machine, and client on the server machine. still the same error message.
- tried to higher the log level to 6 and this is the logs:
Log:
us=142536 LZO compression initialized
us=142627 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
us=142682 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
us=142727 Local Options String: 'V4,dev-type tun,link-m tu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher-CBC,auth SHA1,keysi ze 128,tls-auth,key-method 2,tls-client'
us=142747 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
us=142773 Local Options hash (VER=V4): '504e774e'
us=142793 Expected Remote Options hash (VER=V4): '14168603'
us=142815 Socket Buffers: R=[137216->131072] S=[137216 131072]
us=142833 UDPv4 link local: [undef]
us=142849 UDPv4 link remote: 94.183.120.141:1194
us=142902 UDPv4 WRITE [42] to 94.183.120.141:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #1 ] [ ] pid=0 DATA len=0
. .
Thu Oct 21 18:40:14 2010 us=131626 UDPv4 WRITE [42] to 94.183.120.141:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 pid=[ #28 ] [ ] pid=0 DATA len=0
Thu Oct 21 18:40:16 2010 us=519518 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
us=519578 TLS Error: TLS handshake failed
us=519661 TCP/UDP: Closing socket
I think it would be a kind of network problem, MTU related. how can I identify where is the error I'm really frustrated, any suggestion please?