DNS over specific gateway with VPN clients

Started by ezra55, March 11, 2018, 08:05:16 AM

Previous topic - Next topic
March 11, 2018, 08:05:16 AM Last Edit: March 11, 2018, 07:55:24 PM by ezra55
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