我已经运行了12个WireGuard虚拟专用网服务器。现在,我想使用一个应用程序来管理客户机上的连接。在我的Arch客户端上,我已经运行了network-manager-wireguard插件,并且运行良好。
Ubuntu有WireGuard图形用户界面吗?
我正在运行Ubuntu20.04,并且已经尝试自己编译这个https://github.com/max-moser/network-manager-wireguard,但是在./autogen.sh期间遇到了以下错误:
checking for LIBNM_GLIB... no
configure: error: Package requirements (NetworkManager >= 1.2.0
libnm-util >= 1.2.0
libnm-glib >= 1.2.0
libnm-glib-vpn >= 1.2.0) were not met:
No package 'NetworkManager' found
No package 'libnm-util' found
No package 'libnm-glib' found
No package 'libnm-glib-vpn' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNM_GLIB_CFLAGS
and LIBNM_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.但是,我在包存储库中找不到包libnm-util、libnm-glib和libnm-glib-vpn。
有什么已知的解决办法吗?我甚至在谷歌上找不到任何有用的东西。
或者,至少还有其他简单的方法从Ubuntu20.04客户端连接到多个WireGuard虚拟专用网服务器吗?
发布于 2020-04-30 09:03:29
我终于找到了一种让它在Ubuntu20.04上工作的方法。下面是你需要做的步骤。也许这会对未来的人有所帮助:
安装构建和使用插件所需的软件包:
sudo apt install wireguard git dh-autoreconf libglib2.0-dev intltool build-essential libgtk-3-dev libnma-dev libsecret-1-dev network-manager-dev resolvconf从github克隆插件,编译并安装它:
git clone https://github.com/max-moser/network-manager-wireguard
cd network-manager-wireguard
./autogen.sh --without-libnm-glib
./configure --without-libnm-glib --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/NetworkManager --localstatedir=/var
make
sudo make installhttps://askubuntu.com/questions/1233034
复制相似问题