Skip to content

Instantly share code, notes, and snippets.

@nkzawa
Created August 6, 2015 05:29
Show Gist options
  • Save nkzawa/cd0979d8afcca9a64084 to your computer and use it in GitHub Desktop.
Save nkzawa/cd0979d8afcca9a64084 to your computer and use it in GitHub Desktop.
pf
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
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