PDA

View Full Version : Open port 80 on boot without running "personal web sharing"?




splitpea
Oct 22, 2009, 05:27 PM
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?

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

Thanks!



chown33
Oct 22, 2009, 08:07 PM
man launchd

man launchd.plist

splitpea
Oct 22, 2009, 09:25 PM
Thank you!