VPN 连接失败,错误为“FlushIpNetTable 在接口上失败”

VPN 连接失败,错误为“FlushIpNetTable 在接口上失败”

我最初在计算机上安装了一个名为 NCP Secure Entry 的东西,但从未使用过。对于这种特殊情况,有人建议我使用一个名为 WatchGuard Mobile VPN 的客户端。一切运行正常,但后来我认为我应该卸载 NCP 客户端,因为它是不需要的。

那可真是个坏主意。这个东西的卸载程序简直是垃圾,显然把所有的网络适配器都搞乱了。现在我只有在尝试使用 WatchGuard 时才会遇到错误。为了便于了解,我相信 WatchGuard 是建立在 OpenVPN 之上的。

第一个错误是

NOTE: FlushIpNetTable failed on interface [3] {2AADF55B-9855-4BED-BF22-EAB9902A8D93} (status=1168) : Element not found.

然后它会多次触发这些日志

2017-06-14T16:06:27.812 OVPN:>LOG:1497481587,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:27.815 OVPN:>LOG:1497481587,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:28.900 OVPN:>LOG:1497481588,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:28.903 OVPN:>LOG:1497481588,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:29.989 OVPN:>LOG:1497481589,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:29.992 OVPN:>LOG:1497481589,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:31.078 OVPN:>LOG:1497481591,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:31.081 OVPN:>LOG:1497481591,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:32.166 OVPN:>LOG:1497481592,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:32.169 OVPN:>LOG:1497481592,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:33.254 OVPN:>LOG:1497481593,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:33.257 OVPN:>LOG:1497481593,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:34.342 OVPN:>LOG:1497481594,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:34.345 OVPN:>LOG:1497481594,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:35.434 OVPN:>LOG:1497481595,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:35.437 OVPN:>LOG:1497481595,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:36.526 OVPN:>LOG:1497481596,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:36.529 OVPN:>LOG:1497481596,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:37.614 OVPN:>LOG:1497481597,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:37.617 OVPN:>LOG:1497481597,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:38.882 OVPN:>LOG:1497481598,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:38.885 OVPN:>LOG:1497481598,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:40.091 OVPN:>LOG:1497481600,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:40.094 OVPN:>LOG:1497481600,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:41.309 OVPN:>LOG:1497481601,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:41.312 OVPN:>LOG:1497481601,,Route: Waiting for TUN/TAP interface to come up...

2017-06-14T16:06:42.578 OVPN:>LOG:1497481602,,TEST ROUTES: 0/1 succeeded len=0 ret=0 a=0 u/d=up

2017-06-14T16:06:42.581 OVPN:>LOG:1497481602,,Route: Waiting for TUN/TAP interface to come up...

最后

W,Warning: route gateway is not reachable on any active network adapters: 192.168.123.1

...

I,Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )

我尝试过重置适配器、重新安装 TAP 适配器等各种方法。但目前没有任何效果。

答案1

好吧,看来我已经破解了。我不太清楚我做了什么来修复它,但看起来 NCP 在适配器上安装了某种过滤器,这破坏了一切。

只需转到控制面板\所有控制面板项\网络连接,然后右键单击适配器 -> 属性。查找名为 NCP 过滤器的项并将其卸载。

相关内容