Comments on How to Set Up WireGuard VPN on Ubuntu 20.04

WireGuard is an open-source and security-focused virtual private network designed for simplicity and ease of use. If you are looking for a lightweight and fast VPN then the WireGuard VPN is the best choice for you. In this tutorial, we will show you how to install the WireGuard VPN server and client on Ubuntu 20.04.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: curiousadmin

Thank you for the how-to. Could you or anyone from the readers provide any configuration tips on non-NAT setup? I would like to have a setup where the traffic towards the Internet is not routed via 10.0.0.1 but via local gateway but all the traffic in the 10.0.0.0/24 network is still routed via the VPN. Ie. making it very large/far reaching LAN network.

By: ustoopia

Great tutorial. Perhaps you could add that in the settings for peers that using 0.0.0.0 will route all traffic over the VPN but there are options to not have this happen by using for example 10.0.0.2 as peer address. [Peer] PublicKey = server-public-key Endpoint = server-ip-address:51820 AllowedIPs = 0.0.0.0/0

By: Victor

Great tutorial thank you

By: Steve

client-public-key is confusing, because it isn't a filename, but the actual key that was generated and needs to be inserted.  Typically, when guides do replacements, they would use <<client-public-key>> or {insert client-public-key} as a way to clearly show that the value needs to be replaced.  

Or I'm I the only person burned by this?  Happened a few places where the actual pub/priv keys needed to be inserted in the guide.