Last active
March 6, 2019 10:32
-
-
Save tommyvdv/080545f76cc992bab6ae13c070479da5 to your computer and use it in GitHub Desktop.
osx port 80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Port 80 happens to close every reboot. | |
Opening it should work using these. It is however quite unclear why my setup closes it (and others don't. | |
$ cat /etc/pf.conf | |
… | |
# Allow access to port 80 | |
pass in proto tcp from any to any port 80 | |
$ sudo pfctl -F all | |
No ALTQ support in kernel | |
ALTQ related functions disabled | |
rules cleared | |
nat cleared | |
dummynet cleared | |
0 tables deleted. | |
0 states cleared | |
source tracking entries cleared | |
pf: statistics cleared | |
pf: interface flags reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I might want to create a file, load it from pf.conf and turn this into a reusable solution.
Also, why does the port close at every boot?
Or am I imagining this and is there some other criterium that causes this. We'll find out @ next reboot.