Fix internal access to DNS server.

This commit is contained in:
Tom Alexander 2023-06-20 02:11:46 -04:00
parent e755cb4251
commit 310fea89ae
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -31,6 +31,7 @@ rdr pass on jail_nat inet proto tcp from $jail_nat_v4 to $not_jail_nat_v4 port 6
# nat pass on $not_ext_if proto {tcp, udp} from $jail_nat_v4 to 10.215.1.210 port 65099 -> (lagg0)
rdr pass inet proto {tcp, udp} from any to ($ext_if) port 53 -> 10.215.1.211 port 53
nat pass on jail_nat proto {tcp, udp} from { 10.215.1.0/24, !10.215.1.1 } to 10.215.1.211 -> (jail_nat)
# filtering