Answer the question
In order to leave comments, you need to log in
How to transfer a rule from ipfw to pfctl?
1. There is a rule for ipfw, you need the same for PF.
fwd 127.0.0.1,8080 tcp from any to any dst-port 80 in
Answer the question
In order to leave comments, you need to log in
1) Somehow, I wrote from memory, did not check.
2) Most likely it is impossible, but I'm not sure, in any case, the firewall does not exactly check whether the answer was or not.
You are wrong about macos, the built-in web server works fine on port 80:
tcp46 0 0 *.80 *.* LISTEN
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question