J'ai un prob avec OpenVPN, le serveur se connecte bien et l'icone devient vert. Le client lui, quand je me connecte, m'affiche une erreur TLS de ce style :
Fri Jun 16 16:32:02 2006 OpenVPN 2.0.7 Win32-MinGW [SSL] [LZO] built on Apr 12 2006 Fri Jun 16 16:32:02 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. Fri Jun 16 16:32:02 2006 LZO compression initialized Fri Jun 16 16:32:02 2006 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ] Fri Jun 16 16:32:02 2006 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Fri Jun 16 16:32:02 2006 Local Options hash (VER=V4): '41690919' Fri Jun 16 16:32:02 2006 Expected Remote Options hash (VER=V4): '530fdded' Fri Jun 16 16:32:02 2006 UDPv4 link local: [undef] Fri Jun 16 16:32:02 2006 UDPv4 link remote: 81.xx.xx.xx:1194 Fri Jun 16 16:33:03 2006 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Fri Jun 16 16:33:03 2006 TLS Error: TLS handshake failed Fri Jun 16 16:33:03 2006 TCP/UDP: Closing socket Fri Jun 16 16:33:03 2006 SIGUSR1[soft,tls-error] received, process restarting Fri Jun 16 16:33:03 2006 Restart pause, 2 second(s) Fri Jun 16 16:33:05 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. Fri Jun 16 16:33:05 2006 Re-using SSL/TLS context
Et voici mon fichier de config :
client dev tun proto udp remote 81.xx.xx.xx 1194 resolv-retry infi nobind persist-key persist-tun ca ca.crt cert client1.crt key client1.key ns-cert-type server tls-auth ta.key 1 comp-lzo verb 3
Et voici pour le serveur :
port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt client-to-client keepalive 10 120 tls-auth ta.key 0 comp-lzo persist-key persist-tun status openvpn-status.log verb 3
Marsh Posté le 16-06-2006 à 19:04:01
Bonjour à tous,
J'ai un prob avec OpenVPN, le serveur se connecte bien et l'icone devient vert.
Le client lui, quand je me connecte, m'affiche une erreur TLS de ce style :
Fri Jun 16 16:32:02 2006 OpenVPN 2.0.7 Win32-MinGW [SSL] [LZO] built on Apr 12 2006
Fri Jun 16 16:32:02 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Fri Jun 16 16:32:02 2006 LZO compression initialized
Fri Jun 16 16:32:02 2006 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Jun 16 16:32:02 2006 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Jun 16 16:32:02 2006 Local Options hash (VER=V4): '41690919'
Fri Jun 16 16:32:02 2006 Expected Remote Options hash (VER=V4): '530fdded'
Fri Jun 16 16:32:02 2006 UDPv4 link local: [undef]
Fri Jun 16 16:32:02 2006 UDPv4 link remote: 81.xx.xx.xx:1194
Fri Jun 16 16:33:03 2006 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Jun 16 16:33:03 2006 TLS Error: TLS handshake failed
Fri Jun 16 16:33:03 2006 TCP/UDP: Closing socket
Fri Jun 16 16:33:03 2006 SIGUSR1[soft,tls-error] received, process restarting
Fri Jun 16 16:33:03 2006 Restart pause, 2 second(s)
Fri Jun 16 16:33:05 2006 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Fri Jun 16 16:33:05 2006 Re-using SSL/TLS context
Et voici mon fichier de config :
client
dev tun
proto udp
remote 81.xx.xx.xx 1194
resolv-retry infi
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
Et voici pour le serveur :
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
tls-auth ta.key 0
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Merci d'avance pour votre aide