pf-dev/anchors/https

5 lines
250 B
Text
Raw Permalink Normal View History

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