NetExtender:无法重新连接

我在基于Linux的服务器上运行NetExtender以连接到另一家公司的专用networking。 连接工作正常,但在一个月内,如果连接丢失,它不会自动重新连接。 该程序被configuration为在连接终止时自动重新连接,它尝试重新连接但不成功。

如果我手动login到服务器并closuresnetextender,然后重新启动,它工作正常,但我需要此程序始终运行。

以下是断开时的日志

08/20/2014 08:46:59.538 [connect error 20617] SSL_read ZERO RETURN 08/20/2014 08:46:59.538 [general notice 20617] SSL VPN logging out... 08/20/2014 08:46:59.552 [connect info 24510] NetExtender interface down 08/20/2014 08:46:59.554 [dns notice 24510] Restoring DNS settings 08/20/2014 08:46:59.604 [general notice 20617] SSL VPN connection is terminated. 08/20/2014 08:46:59.605 [config info 20617] Loading saved profiles... 08/20/2014 08:46:59.605 [config info 20617] Loaded profile: sslvpn.companyname.co.uk 08/20/2014 08:46:59.605 [config info 20617] Done. 08/20/2014 08:46:59.609 [gui info 20617] NetExtender disconnected 08/20/2014 08:46:59.611 [connect info 20617] User: "userID" 08/20/2014 08:46:59.611 [connect info 20617] Domain: "SSLVPN" 08/20/2014 08:46:59.611 [connect info 20617] Server: "sslvpn.companyname.co.uk:443" 08/20/2014 08:46:59.615 [general info 20617] Saving profiles/preferences... 08/20/2014 08:46:59.615 [general info 20617] Done saving profiles/preferences 08/20/2014 08:46:59.649 [general notice 20617] Connecting to sslvpn.companyname.co.uk:443... 08/20/2014 08:46:59.686 [connect warn 20617] SSL_get_peer_certificate: X509_V_ERR_INVALID_CA 08/20/2014 08:46:59.744 [general notice 20617] Connected. 08/20/2014 08:46:59.744 [general notice 20617] Logging in... 08/20/2014 08:47:00.170 [general info 6267] nxMonitor received shutdown command; nxMonitor exiting 08/20/2014 08:47:06.876 [general notice 20617] Login successful. 08/20/2014 08:47:06.958 [general error 20617] failed to retrieve epc agent version 08/20/2014 08:47:06.959 [epc info 20617] Server don't support EPC check. Just pass EPC check 08/20/2014 08:47:07.020 [general error 20617] unexpected response while retriving session ID 08/20/2014 08:47:07.020 [general notice 20617] No routes found. Checking for legacy route format... 08/20/2014 08:47:07.104 [general error 20617] unexpected response while retriving server route 08/20/2014 08:47:07.104 [general error 20617] Connection failure 08/20/2014 08:47:07.104 [general notice 20617] SSL VPN logging out... 08/20/2014 08:47:07.167 [general notice 20617] SSL VPN connection is terminated. 08/20/2014 08:47:07.168 [config info 20617] Loading saved profiles... 08/20/2014 08:47:07.168 [config info 20617] Loaded profile: sslvpn.companyname.co.uk 08/20/2014 08:47:07.168 [config info 20617] Done. 08/20/2014 08:47:07.172 [gui info 20617] Failed to connect 

这是我的服务器的问题,或者他们的服务器有什么问题,这就是为什么我断开连接? 任何人都可以请帮我这个。

谢谢

有时会断开连接,但客户端应该能够每次重新连接。 我认为这是NetExtender客户端的问题。 我们之前在Linux上遇到了问题,唯一的解决方法是等待Sonicwall发布更新的客户端!

由于手动重新启动它可能工作,也许解决方法是使用监视服务(如监视)来检查连接? 例如,Monit可以每分钟在通道的另一端ping一些东西。 如果没有回应,Monit可能会杀死并重新启动连接。 http://mmonit.com/monit/

一个示例monitconfiguration将是

 check host myserver with address 192.168.1.1 if failed icmp type echo count 2 with timeout 10 seconds then restart start program = "/bin/bash /home/me/netextender-startup-script.sh" stop program = "/bin/bash /home/me/netextender-stop-script.sh" 

您必须根据您的Linux发行版来定义启动和停止脚本…