travislee89 / ocserv-auto

Auto Install Ocserv Server for CentOS/RedHat 7
324 stars 190 forks source link

奇怪的断线问题 #16

Open SarinV opened 6 years ago

SarinV commented 6 years ago

电信200M家庭宽带,直连光猫拨号连接稳定,但是中间如果隔着路由器的话就会连上就断线,概率能连上,连上至断线的间隙大概十多秒,这十多秒时间内VPN可以工作可以访问谷歌,随后断线。 请问这种情况应该怎么解决? 日志: 16:06:47 Contacting xxxx.xxxx.xx:0001. 16:06:48 User credentials entered. 16:06:52 User credentials entered. 16:06:52 Establishing VPN session... 16:06:52 The AnyConnect Downloader is performing update checks... 16:06:52 Checking for profile updates... 16:06:52 Checking for product updates... 16:06:52 Checking for customization updates... 16:06:53 Performing any required updates... 16:06:53 The AnyConnect Downloader updates have been completed. 16:06:53 Establishing VPN session... 16:06:53 Establishing VPN - Initiating connection... 16:06:53 Establishing VPN - Examining system... 16:06:53 Establishing VPN - Activating VPN adapter... 16:06:53 Establishing VPN - Configuring system... 16:06:55 Establishing VPN... 16:06:55 Connected to xxxx.xxxx.xx:0001 16:07:02 Reconnecting to xxxx.xxxx.xx:0001... 16:07:03 Disconnect in progress, please wait... 16:07:03 The secure gateway has rejected the connection attempt. A new connection attempt to the same or another secure gateway is needed, which requires re-authentication.

SarinV commented 6 years ago

已解决,路由器防火墙设置问题,原因未知,重写防火墙规则后问题不再出现。

SarinV commented 6 years ago

更新故障原因与解决方案

最终发现是客户端版本过低的原因,更新至最新客户端后问题解决。