我正在尝试在我们的 Ubuntu 22.04 服务器上配置 L2TP 客户端。我已配置凭据,并在日志中看到以下错误
May 2 09:31:39 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 101 (refhim=0)
May 2 09:31:39 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 101 Dumping.
May 2 09:31:40 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 12 (refhim=0)
May 2 09:31:40 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 12 Dumping.
May 2 09:31:40 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 101 (refhim=0)
May 2 09:31:40 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 101 Dumping.
May 2 09:31:42 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 12 (refhim=0)
May 2 09:31:42 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 12 Dumping.
May 2 09:31:42 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 101 (refhim=0)
May 2 09:31:42 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 101 Dumping.
May 2 09:31:46 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 101 (refhim=0)
May 2 09:31:46 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 101 Dumping.
May 2 09:31:46 nl-live NetworkManager[31815]: xl2tpd[31815]: Can not find tunnel 12 (refhim=0)
May 2 09:31:46 nl-live NetworkManager[31815]: xl2tpd[31815]: network_thread: unable to find call or tunnel to handle packet. call = 39479, tunnel = 12 Dumping.
知道我遗漏了什么吗?
我还发现,当我启用 VPN 时,我对网络管理器界面所做的任何更改都不会持久并恢复为先前的值。
例如,如果之前的 VPN 连接名称是VPN OLD
“VPN NEW”,则将 VPN 名称更改为“VPN NEW”并尝试启用 VPN,该名称将恢复为VPN OLD
。
任何关于如何解决这个问题的帮助都会非常有用,谢谢
答案1
您需要升级到 xl2tpd 1.3.16-1ubuntu0.1 或更高版本,例如:
sudo apt update
sudo apt upgrade xl2tpd
我还建议安装较新的 network-manager-l2tp (和 network-manager-l2tp-gnome) 包:
sudo apt upgrade
我不知道重命名出了什么问题,但升级所有软件包不会有什么坏处,甚至可能修复重命名问题。