16
Virtual private networks / Re: Force Unbound (resolver) to use a WG tunnel and not default route
« on: October 31, 2021, 04:00:57 am »Quote
Interface: VPN_WAN
Source: This Firewall
Destination Port: 53
Translation / target: Interface address
I tried the NAT rule without success. I think this rule doesn't get applied because Unbound uses the default route, not VPN_WAN...
Quote
Sorry, this is a bit of (somewhat educated) guesswork. I don't use unbound on OPNsense (I have a separate box that does DNS for my network).
No worries, any help I can get is very much appreciated.
Quote
But I have also just noticed that under Services/Unbound DNS/General/Advanced, you can set the Outgoing Network Interfaces.
I already have this set (I mentioned this in the initial post) but traffic still leaves through WAN. It seems the setting is just ignored...... What could be the reason that this happens? Wrong NAT rules? Missing rules?


