max-moser / network-manager-wireguard

NetworkManager VPN Plugin: Wireguard
Other
448 stars 54 forks source link

Won't build on Ubuntu 20.04 #50

Open alexander-potemkin opened 3 years ago

alexander-potemkin commented 3 years ago

Due to the following packages deprecated:

libnm-util-dev libnm-glib-dev libnm-glib-vpn-dev

m00head commented 3 years ago

@KingCartman found a way to get it working on Ubuntu 20.04. Here are the steps you need to do:

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

Source: https://askubuntu.com/questions/1233034/wireguard-vpn-client-gui/1233341#1233341 via https://github.com/max-moser/network-manager-wireguard/issues/46#issuecomment-621744485

alexander-potemkin commented 3 years ago

@m00head , thanks a lot! It does appear in the GUI now, hope it will be working as well :)

cccaballero commented 2 years ago

I built and install it for Ubuntu 20.04 using these instructions, and I can create a new wireguard VPN from the Network manager GUI, and if I start the VPN I get the indicator that the VPN is active, but in reality it seems that wireguard is not running and I go to the internet through the normal network, without VPN

vip5912 commented 1 year ago

@m00head Thanks! It's working for me (Ubuntu 22.04).

y2k04 commented 3 months ago

Can confirm that this fork works! I can connect to a WireGuard VPN successfully. The parent repo just fails on attempting to connect. I do have to mention that when you disconnect it "fails".