1

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 ...
2

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

2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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