mbello

Instructions to have Wireguard NetworkManager plugin

Dec 14th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. sudo apt install libtool libglib2.0-dev pkg-config autoconf automake intltool build-essential libgtk-3-dev libnma-dev libsecret-1-dev libnm-util-dev libnm-glib-dev libnm-glib-vpn-dev libnm-gtk-dev resolvconf wireguard wireguard-tools
  2.  
  3. wget https://github.com/max-moser/network-manager-wireguard/archive/master.zip
  4. unzip master.zip
  5.  
  6. cd network-manager-wireguard-master/
  7. ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/NetworkManager --localstatedir=/var
  8. sudo make install
  9. cd ..
  10. rm master.zip
  11.  
  12. # if you delete the folder you will not be able to run 'make uninstall'
  13. rm -Rf network-manager-wireguard-master/
  14.  
  15. Now go setup your VPN using NetworkManager.
  16. The VPN name must be wg#
  17. In the IPV4 and IPV6 tabs you must set the disabled radio button.
Advertisement
Add Comment
Please, Sign In to add comment