Wireguard Client Connect to Server

apt install wireguard

Since we’re only connecting back to our VPN Server, we need to create a file where we will store our VPN profile information. To be clear, this is generated on the VPN server side. We are only copying the contents of the file so that we can authenticate with our VPN server. Create the file, add the contents, and then save the file.

nano /etc/wireguard/wg0.conf
paste generated cfg from server side and save.

Start tunneling

wg-quick up wg0
wg-quick down wg0

enable startup on reboot if needed
systemctl enable [email protected]