pf-dev/anchors/http

4 lines
248 B
Text

# vim: set ft=pf :
# Handle loopback HTTP requests (port 80) on non-privileged port 8080.
rdr pass inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080
rdr pass inet6 proto tcp from any to ::1 port 80 -> ::1 port 8080