Ubuntu 20.04 set up WireGuard VPN server

Originally published at: https://www.cyberciti.biz/faq/ubuntu-20-04-set-up-wireguard-vpn-server/

How can I install and set up WireGuard VPN server on an Ubuntu 20.4 LTS Linux server? How do I configure Ubuntu 20.04 as the WireGuard VPN server?

Thank you for a very nice article.

I have Ubuntu 20.04 running on a Raspberry pi - in order to get Wireguard going I also need to install the package “wireguard-dkms”. That package compiles the actual wireguard kernel module.

Regards
Per


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki