Wireguard VPN 客户端 GUI

Kin*_*man 7 server gui network-manager vpn wireguard

我已经运行了 12 个 WireGuard VPN 服务器。现在我想使用一个应用程序来管理客户端上的连接。在我的 Arch-Linux 客户端上,我network-manager-wireguard运行了插件并且工作正常。

是否有适用于 Ubuntu 的 WireGuard GUI?

我正在运行 Ubuntu 20.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.
Run Code Online (Sandbox Code Playgroud)

但是,我找不到包libnm-utillibnm-gliblibnm-glib-vpn在包库。

有没有已知的解决方案?我什至在谷歌上找不到任何有用的东西。

或者,是否至少有其他简单的方法可以从 Ubuntu 20.04 客户端连接到多个 WireGuard VPN 服务器?

Kin*_*man 14

我终于找到了让它在 Ubuntu 20.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
Run Code Online (Sandbox Code Playgroud)

从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 install
Run Code Online (Sandbox Code Playgroud)

  • 22.04 不工作。尝试激活时会导致“网络连接激活失败”并且无法与服务器建立连接。https://askubuntu.com/questions/1404807/wireguard-management-in-network-manager-on-jammy。 (4认同)
  • 使用 Ubuntu 20.04,我按照它的命令操作,我可以在 GUI 中看到wireguard 选项,我可以配置我的 VPN 并且可以激活它,但是wireguard VPN 永远不会启动,即使 GUI 说它正在运行 (3认同)
  • 谢谢你的提示。不幸的是,我没有这样的选择。所以我想安装出了点问题。我会再试一次。 (2认同)