OPNsense Forum

English Forums => General Discussion => Topic started by: rama3124 on January 29, 2023, 12:11:58 AM

Title: Routing unbound DNS through VPN tunnel
Post by: rama3124 on January 29, 2023, 12:11:58 AM
Hi
I have setup opnsense to route all LAN traffic through a VPN tunnel using PIA and wireguard (as per script made by Fingerless Gloves) but apparently there may still be DNS leaks if using a local DNS server. I use the unbound DNS server on opnsense, how can I route this through the tunnel to avoid DNS leaks. Or is there another easier way to avoid leaks?