VPN 与 vpnc 的连接问题

VPN 与 vpnc 的连接问题

我能够使用 network-manager-vpnc 顺利通过 VPN,但突然它停止工作了。这是从我的系统日志中捕获的片段:

Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <info> Starting VPN service 'vpnc'...
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 16516
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN service 'vpnc' appeared; activating connections
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN plugin state changed: starting (3)
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN connection 'ABCXYZ' (Connect) reply received.
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Sep  2 10:58:19 chachan-ThinkPad-L420 NetworkManager[1130]: <warn> /sys/devices/virtual/net/tun0: couldn't determine device driver; ignoring...
Sep  2 10:58:34 chachan-ThinkPad-L420 avahi-daemon[1085]: Withdrawing workstation service for tun0.
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]: <warn> VPN plugin failed: 1
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN plugin state changed: stopped (6)
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN plugin state change reason: 0
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]: <info> Policy set 'WirelessLink' (wlan0) as default for IPv4 routing and DNS.
Sep  2 10:58:34 chachan-ThinkPad-L420 NetworkManager[1130]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Sep  2 10:58:39 chachan-ThinkPad-L420 NetworkManager[1130]: <info> VPN service 'vpnc' disappeared

我尝试过重启、重启无线和重启网络。还有什么可以测试或做的吗?

提前致谢!

答案1

我似乎遇到了同样的问题。我通过运行以下命令获得了一些有用的调试输出:

sudo /usr/lib/NetworkManager/nm-vpnc-service --debug

从:https://wiki.gnome.org/NetworkManager/Debugging然后在网络管理器中连接到 VPN。不幸的是,这只是让我解决了 vpnc-connect 比 network-manager-vpnc 运行得稍微好一点的问题,使用说明Cisco VPN无法正常工作关于 1des,但无法使其真正发挥作用,因为我不知道如何处理有关 ESP 数据包的调试输出。也许这会对你有所帮助。

相关内容