TLS Error: TLS handshake failed
Posted: Thu May 27, 2021 7:17 pm
Dear:
I have a VPN that was working with no problem until I moved de server to another office (with another internet connection).
I conected the PC in the new office trought a router linksys and forwarded port Nº 1194 UPD to the PC, but can´t get a connection.
My server config is:
local 192.168.1.100
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\Server.crt"
key "C:\\Program Files\\OpenVPN\\config\\Server.key"
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client config is:
client
dev tun
proto udp
remote [IP] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\Notebook.crt"
key "C:\\Program Files\\OpenVPN\\config\\Notebook.key"
ns-cert-type server
comp-lzo
verb 3
Full log is:
hu May 27 16:14:03 2021 Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Thu May 27 16:14:03 2021 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
Thu May 27 16:14:03 2021 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Thu May 27 16:14:03 2021 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Thu May 27 16:14:03 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]IP:1194
Thu May 27 16:14:03 2021 Socket Buffers: R=[65536->65536] S=[65536->65536]
Thu May 27 16:14:03 2021 UDP link local: (not bound)
Thu May 27 16:14:03 2021 UDP link remote: [AF_INET] IP:1194
Thu May 27 16:14:03 2021 MANAGEMENT: >STATE:1622142843,WAIT,,,,,,
Thu May 27 16:15:03 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu May 27 16:15:03 2021 TLS Error: TLS handshake failed
I have a VPN that was working with no problem until I moved de server to another office (with another internet connection).
I conected the PC in the new office trought a router linksys and forwarded port Nº 1194 UPD to the PC, but can´t get a connection.
My server config is:
local 192.168.1.100
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\Server.crt"
key "C:\\Program Files\\OpenVPN\\config\\Server.key"
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client config is:
client
dev tun
proto udp
remote [IP] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\Notebook.crt"
key "C:\\Program Files\\OpenVPN\\config\\Notebook.key"
ns-cert-type server
comp-lzo
verb 3
Full log is:
hu May 27 16:14:03 2021 Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Thu May 27 16:14:03 2021 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
Thu May 27 16:14:03 2021 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Thu May 27 16:14:03 2021 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Thu May 27 16:14:03 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]IP:1194
Thu May 27 16:14:03 2021 Socket Buffers: R=[65536->65536] S=[65536->65536]
Thu May 27 16:14:03 2021 UDP link local: (not bound)
Thu May 27 16:14:03 2021 UDP link remote: [AF_INET] IP:1194
Thu May 27 16:14:03 2021 MANAGEMENT: >STATE:1622142843,WAIT,,,,,,
Thu May 27 16:15:03 2021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu May 27 16:15:03 2021 TLS Error: TLS handshake failed