Skip to content

Instantly share code, notes, and snippets.

@trodemaster
Created December 1, 2013 22:40
Show Gist options
  • Save trodemaster/7741813 to your computer and use it in GitHub Desktop.
Save trodemaster/7741813 to your computer and use it in GitHub Desktop.
quick hack for blacklisting a single IP on OS X 10.9
# 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