By default, GNOME 3's VPN configuration tool for NetworkManager supports IPSEC VPNs, but not WireGuard. I want WireGuard support because:
- I can import settings from a WireGuard config file.
- I can link that VPN connection to another connection (e.g. a mobile device via Bluetooth), so that it runs automatically.
Some kind and clever person has created a plugin.
I followed the guidance here to install it.
The guide almost worked for me, but I needed an extra package (
Here's what worked for me:
sudo apt install build-essential libgtk-3-dev libnma-dev libsecret-1-dev intltool -y git clone https://github.com/max-moser/network-manager-wireguard cd network-manager-wireguard ./autogen.sh --without-libnm-glib ./configure --prefix=/usr --without-libnm-glib --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/NetworkManager --localstatedir=/var make sudo make install
(I note that the plugin uses the name "Wireguard", but the trademarked name is "WireGuard". Oh well.)