meta data for this page
  •  

This is an old revision of the document!


Wireguard

Server setup

cd /etc/wireguard
wg genkey | tee privatekey | wg pubkey > publickey
chmod 400 publickey privatekey
[Interface]
Address = 192.168.x.1/24
ListenPort = ...
PrivateKey = ...
SaveConfig = true
sudo systemctl enable --now wg-quick@wg0