Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ...
share|improve this question
add comment

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.

share|improve this answer
add comment

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

share|improve this answer
    
+1 for WaterRoof –  miha May 18 '12 at 20:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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