How do you apply a list of ipfw rules at startup on Mac OS X?

i.e. I have a list of rules like these that I'm applying manually.

sudo ipfw add 00100 ...
sudo ipfw add 00101 ...
sudo ipfw add 00102 ...
link|improve this question

78% accept rate
feedback

2 Answers

up vote 2 down vote accepted

Right your rules into a shell script and then create a launchd plist to fire off the script at boot.

link|improve this answer
feedback

You can also use a tool like NoobProof or WaterRoof to set the rules up and save them in a startup configuration.

link|improve this answer
+1 for WaterRoof – miha May 18 at 20:25
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.