DNS forwarding working.

This commit is contained in:
Tom Alexander 2022-10-29 20:36:13 -04:00
parent 4de74765af
commit 464d873b31
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -15,6 +15,8 @@ set skip on lo
# redirections
nat on $ext_if inet from $jail_net_v4 to { any, !$jail_net_v4 } tag ALLOWED -> (wlan0)
rdr on nat_uplink0 inet proto {tcp, udp} from any to 10.193.223.1 port 53 tag ALLOWED -> 1.1.1.1 port 53
# filtering
block log all
pass quick on $ext_if tagged ALLOWED