WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it plans to be cross-platform and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.
https://www.wireguard.com/
1. INSTALL WIREGUARD ON UBUNTU
GENERATE PUBLIC KEY AND PRIVATE KEY
You can simply go to the /etc/wireguard directory and see your keys either by cat privatekey or cat publickey
CREATE CONFIGURATION FILE
Keep the address 10.0.0.1/24 this will be an internal address to bypass the traffic through wireguard. Lets Check if its working