Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

splitpea

macrumors 65816
Original poster
Oct 21, 2009
1,149
422
Among the starlings
I'm running a local Apache instance installed using MacPorts, and need other computers on my network to be able to reach it. The following command seems to open up the port I need, but how can I run this on boot?

Code:
sudo ipfw add 02080 allow tcp from 192.168.1.1/24 to me 80

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.