Wireguard Client Connect to Server

2021-11-26 · Linux

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 wg-quick@wg0

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.