OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: ledaje on May 08, 2021, 09:51:37 PM

Title: NAT on port 53
Post by: ledaje on May 08, 2021, 09:51:37 PM
OPNsense seems to take over port 53 when trying to NAT the port to an internal server?

I've tried to disable Unbound but that doesn't make NAT work. Do I need to do change a setting or make a configuration somewhere to make NAT work for port 53? (all other ports seem to work fine)

Thanks.


Title: Re: NAT on port 53
Post by: lfirewall1243 on May 08, 2021, 10:16:26 PM
Try to tick
"Don't use local system as DNS server" or so under System->Settings->general
Title: Re: NAT on port 53
Post by: ledaje on May 08, 2021, 11:57:56 PM
Quote from: lfirewall1243 on May 08, 2021, 10:16:26 PM
Try to tick
"Don't use local system as DNS server" or so under System->Settings->general

Thanks for the tip, but it wasn't what solved my issue. I had a NAT rule that was configured with "WAN address" as Destination and I thought WAN address meant the ONE IP that is configured as a primary IP on the WAN interface. But apparently, WAN address means all Virtual IPs which is configured on the WAN interface. Maybe "WAN address" should be called "All WAN addresses" instead if this is not a bug.
Title: Re: NAT on port 53
Post by: abulafia on May 13, 2021, 04:18:47 PM
Have you disabled / port remapped your unbound / dnsmasq / bind DNS server usually running on Opnsense?