Open port 80 on boot without running "personal web sharing"?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by splitpea, Oct 22, 2009.

  1. splitpea macrumors 6502a

    Joined:
    Oct 21, 2009
    Location:
    Among the starlings
    #1
    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!
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
  3. splitpea thread starter macrumors 6502a

    Joined:
    Oct 21, 2009
    Location:
    Among the starlings

Share This Page