OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: ezra55 on March 11, 2018, 08:05:16 am

Title: DNS over specific gateway with VPN clients
Post by: ezra55 on March 11, 2018, 08:05:16 am
Hello,

I have 5x VPN Tunnel, where i want to route all my traffic over.

I use the Unbound DNS server and selected all my VPN gateways to route it over.

Now when my VPN tunnels are down they can't resolv anymore.

I've added a floating rule: pass -> tcp/udp -> out -> DNS -> dest (alias for vpn addresses) -> WAN gateway
Then a floating to block all outgoing DNS over WAN gateway just to be sure.

This just does not work as expected. Any idea how to solve this?

Thanks,

Ezra