Prevent VPN Leaks

Hi all. It's mission critical for me to avoid any sort of leaks from happening at all (dns leaks, etc.) I have followed the guide in https://openwrt.org/docs/guide-user/services/vpn/wireguard/client

I was wondering if anyone here familiar with iptables could help write some iptables rules to prevent any leaks and only allow traffic through to the VPN ip? It would be much appreciated.

If you delete LAN to WAN forwarding from your firewall rules, you should be fine. This is assuming that you are using the WAN port as outfacing port to the modem. That way all devices connected to your router will report "no internet" if VPN is down.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.