Initial commit: HTTP only, with Justfile for setup
This commit is contained in:
commit
7985efcb9c
3 changed files with 72 additions and 0 deletions
6
anchors/http
Normal file
6
anchors/http
Normal file
|
@ -0,0 +1,6 @@
|
|||
# vim: set ft=pf :
|
||||
# Handle loopback HTTP and HTTPS requests (ports 80 and 443) on non-privileged ports 8080 and 8443.
|
||||
rdr pass inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8080
|
||||
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 80 -> ::1 port 8080
|
||||
rdr pass inet6 proto tcp from any to ::1 port 443 -> ::1 port 8443
|
Loading…
Add table
Add a link
Reference in a new issue