Skip to content

Wireguard

Install Instructions

sudo su
sudo apt-get -y wireguard
sudo apt-get -y install resolvconf
# Put .conf file in /etc/wireguard
wg-quick up `filename of .conf file` 

Update DNS

vpn - Configure DNS routing in wireguard - Server Fault

Check Status


wg

Start on boot


sudo systemctl enable --now wg-quick@vultr
sudo systemctl disable --now wg-quick@vultr

Only VPN network through VPN

https://chat.openai.com/share/f4c290f0-0bcc-4fe5-9f1a-5bbcfa1d044e

Keepalive


PersistentKeepalive = 15

Forward Docker Traffic

Sources