收到openvpn SIGUSR1 [soft,connection-reset],进程重启

时间:2016-04-12 07:49:59

标签: debian openvpn

我在OpenVPN客户端(Debian 6)上出现此错误:

Apr 12 09:36:41 example ovpn-server[32093]: Attempting to establish TCP   connection with [AF_INET]xxx.xxx.xxx.xxx:443 [nonblock]
Apr 12 09:36:42 example ovpn-server[32093]: TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:443
Apr 12 09:36:42 example ovpn-server[32093]: TCPv4_CLIENT link local: [undef]
Apr 12 09:36:42 example ovpn-server[32093]: TCPv4_CLIENT link remote: [AF_INET]xxx.xxx.xxx.xxx:443
Apr 12 09:36:42 example ovpn-server[32093]: Connection reset, restarting [-1]
Apr 12 09:36:42 example ovpn-server[32093]: TCP/UDP: Closing socket 
Apr 12 09:36:42 example ovpn-server[32093]: SIGUSR1[soft,connection-reset] received, process restarting
Apr 12 09:36:42 example ovpn-server[32093]: Restart pause, 5 second(s)

在服务器日志中,我得到:

TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:37452
Apr 12 10:45:50 server ovpn-server[23502]: TCPv4_SERVER link local: [undef]
Apr 12 10:45:50 server ovpn-server[23502]: TCPv4_SERVER link remote: [AF_INET]xx.xxx.xxx.xxx:37452
Apr 12 10:45:51 server ovpn-server[23502]: xxx.xxx.xxx.xxx:37452 TLS: Initial packet from [AF_INET]xxx.xxx.xxx.xxx:37452, sid=da69d896 fd84d999
Apr 12 10:45:51 server ovpn-server[23502]: xxx.xxx.xxx.xxx:37452 Connection reset, restarting [-1]
Apr 12 10:45:51 server ovpn-server[23502]: xxx.xxx.xxx.xxx:37452 SIGUSR1[soft,connection-reset] received, client-instance restarting
Apr 12 10:45:51 server ovpn-server[23502]: TCP/UDP: Closing socket

您能帮我找到解决方案并使其有效吗?

2 个答案:

答案 0 :(得分:2)

端口443已被过滤,这就是问题所在。

答案 1 :(得分:0)

如果OpenVPN服务器时钟不正确,也可能发生此错误。 我的显示是1970年(旧的路由器的时钟电池可能已经死亡),更新后我能够连接到OpenVPN服务器。