Notes »

Wireguard Notes

I had some trouble getting multiple peers to communicate with eachother over a wireguard network. Configured with 1 server with multiple peer entries in the config. ICMP pings worked, but not TCP connections.

I had to allow routes with ufw with this rule on the wireguard server:

# Allow forwarding for WireGuard subnet
sudo ufw route allow in on wg0 out on wg0

Here are some references I used to setup wg:

NFS over wireguard fstab

I had this VPS fail to start because I had an fstab entry trying to mount an NFS share over wireguard before the wireguard service started, I found this article which gave me the systemd solution (I still run ubuntu on most all VPS), here's what my fstab entry looks like now:

10.8.0.3:/var/www/media/bible-readings /var/www/media/bible/recordings/ nfs defaults,x-systemd.requires=wg-quick@wg0.service -o fsc

the "-o fsc" is for the cachefilesd

edit SideBar

Page last modified on November 27, 2024, at 09:06 pm

^