Mac OS X: How do you set ipfw rules on startup?

1

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

John Douthat

Posted 2009-11-25T00:00:06.433

Reputation: 581

Answers

2

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

Jeremy L

Posted 2009-11-25T00:00:06.433

Reputation: 2 587

2

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

Creepygeek

Posted 2009-11-25T00:00:06.433

Reputation: 616