pf-dev/anchors/dns

4 lines
247 B
Text

# 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