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
- https://github.com/pirate/wireguard-docs#QuickStart
- https://www.ckn.io/blog/2017/11/14/wireguard-vpn-typical-setup/
- Tried on Aug 15 2020, Ended in depression