Created
February 24, 2015 12:23
-
-
Save baniol/59335f2db75bbb084e8f to your computer and use it in GitHub Desktop.
Block / alow ports on mac osx
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
alias blockport="sudo ipfw add 1 deny tcp from any to any 8084" | |
alias allowport="sudo ipfw del 1 deny tcp from any to any 8084" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment