18

I have already running 12 WireGuard VPN Servers. Now I want to use an application to manage the connection on the clients. On my Arch-Linux Client I have the network-manager-wireguard plugin running and its working fine.

Is there any WireGuard GUI for Ubuntu?

I am running Ubuntu 20.04 and already tried to compile this https://github.com/max-moser/network-manager-wireguard myself, but I ran into the following error during ./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.

But, I can't find the packages libnm-util, libnm-glib and libnm-glib-vpn in the package repositories.

Is there any known solution for this? I even can't find anything helpful on Google.

Or, is there at least any other simple way to connect to multiple WireGuard VPN Servers from an Ubuntu 20.04 Client?

FedKad
  • 13,420

1 Answers1

33

I finally found a way to get it working on Ubuntu 20.04. Here are the steps you need to do. Maybe this will help someone in the future:

Install the needed packages to build and use the plugin:

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

Clone the plugin from github, compile and install it:

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