sudo apt update
sudo apt install wireguard
yourfile.zip
with the actual filename):
unzip ~/Downloads/yourfile.zip -d ~/Downloads/wgconf
.conf
file (the name may vary), then copy its contents to /etc/wireguard/wg0.conf
:
sudo cp ~/Downloads/wgconf/*.conf /etc/wireguard/wg0.conf
sudo chmod 600 /etc/wireguard/wg0.conf
sudo wg-quick up wg0
sudo wg
sudo wg-quick down wg0