pf-dev/anchors/dns

5 lines
247 B
Text
Raw Permalink Normal View History

# 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