Add DNS forwarding (experimental, may not be useful?)

This commit is contained in:
Danielle McLean 2024-03-06 13:08:17 +11:00
parent 7985efcb9c
commit be31f20c69
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

4
anchors/dns Normal file
View file

@ -0,0 +1,4 @@
# vim: set ft=pf :
# Handle loopback DNS requests (port 53) on non-privileged port 8053.
rdr pass inet proto udp from any to 127.0.0.1 port 53 -> 127.0.0.1 port 8053
rdr pass inet6 proto udp from any to ::1 port 53 -> ::1 port 8053