Created
December 1, 2013 22:40
-
-
Save trodemaster/7741813 to your computer and use it in GitHub Desktop.
quick hack for blacklisting a single IP on OS X 10.9
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
# edit the /etc/pf.conf file and add this line | |
# This example will drop all packets from the IP 10.100.0.1 that arrive in ethernet 0 | |
block drop in quick on en0 from 10.100.0.1 to any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment