Created
August 6, 2015 05:29
-
-
Save nkzawa/cd0979d8afcca9a64084 to your computer and use it in GitHub Desktop.
pf
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
block drop quick on en0 proto tcp from any to any port 9000 | |
block drop quick on lo0 proto tcp from any to any port 9000 |
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
networksetup -listallhardwareports | |
sudo pfctl -e -f mypf.conf | |
sudo pfctl -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment