This is an automated archive.
The original was posted on /r/wireguard by /u/Jolly_Charity_5739 on 2024-01-23 21:17:23+00:00.
Hey all! I set up a home VPN server with WireGuard, and it works great! However, I would like to be able to use UFW to configure the firewall in a way so that only my configuration's IP address can access my local network, and anyone else who tries to access has their packets to the local network dropped. I can't for the life of me figure out how UFW works, however, because when it is enabled, I can't browse the internet through my VPN, only access my local network. How would I properly set up UFW so that I can:
-
Allow only myself to be able to browse my local network
-
Still allow everyone(myself included) to browse the internet through the VPN
Thanks!