我在使用 OpenVPN 时遇到问题。
我已经在我的 centos 机器上安装并配置了 OpenVPN,看起来一切顺利。我按照以下链接中的说明进行操作
当我尝试连接客户端计算机时,我得到
TLS Error: TLS key negotiation failed to occur within 60 seconds
这是整个日志
Mon Mar 30 18:55:11 2015 OpenVPN 2.3.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Mar 19 2015
Mon Mar 30 18:55:11 2015 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.08
Enter Management Password:
Mon Mar 30 18:55:11 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Mon Mar 30 18:55:11 2015 Need hold release from management interface, waiting...
Mon Mar 30 18:55:11 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Mon Mar 30 18:55:11 2015 MANAGEMENT: CMD 'state on'
Mon Mar 30 18:55:11 2015 MANAGEMENT: CMD 'log all on'
Mon Mar 30 18:55:11 2015 MANAGEMENT: CMD 'hold off'
Mon Mar 30 18:55:11 2015 MANAGEMENT: CMD 'hold release'
Mon Mar 30 18:55:11 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Mar 30 18:55:12 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Mar 30 18:55:12 2015 UDPv4 link local: [undef]
Mon Mar 30 18:55:12 2015 UDPv4 link remote: [AF_INET]192.168.20.17:1194
Mon Mar 30 18:55:12 2015 MANAGEMENT: >STATE:1427734512,WAIT,,,
Mon Mar 30 18:56:12 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Mar 30 18:56:12 2015 TLS Error: TLS handshake failed
Mon Mar 30 18:56:12 2015 SIGUSR1[soft,tls-error] received, process restarting
Mon Mar 30 18:56:12 2015 MANAGEMENT: >STATE:1427734572,RECONNECTING,tls-error,,
Mon Mar 30 18:56:12 2015 Restart pause, 2 second(s)
Mon Mar 30 18:56:14 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Mar 30 18:56:14 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Mon Mar 30 18:56:14 2015 UDPv4 link local: [undef]
Mon Mar 30 18:56:14 2015 UDPv4 link remote: [AF_INET]192.168.20.17:1194
Mon Mar 30 18:56:14 2015 MANAGEMENT: >STATE:1427734574,WAIT,,,
Mon Mar 30 18:56:17 2015 SIGTERM[hard,] received, process exiting
Mon Mar 30 18:56:17 2015 MANAGEMENT: >STATE:1427734577,EXITING,SIGTERM,,
我尝试完全禁用防火墙,但似乎没有解决问题。
有人知道我该如何解决这个问题吗?