Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add firewall rules via the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add firewall rules via the Terminal
Authored by: robleach on Jan 18, '06 05:13:36PM
I thought that the purpose of the "0" was to make the rule being added the top rule, however all the rules I try to add with the 0 are tacked onto the END of my ruleset whether I use the 0 or not. What the heck? Am I missing something? I'm running 10.3.9.

For example:

>sudo ipfw 0 add deny ip from 1.1.1.1 to any
12290 deny ip from 1.1.1.1 to any


Why does it get stuck as rule 12290 (the last rule barring 65535)?

Rob

[ Reply to This | # ]