Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 1
Subject:   Serving Pages from behind Firewall
Date:   2002-01-31 16:47:12
From:   likorish
Great tutorial guys, but I'm wondering how I might serve pages to the outside world if I'm behind a firewall? Is this possible?
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • Serving Pages from behind Firewall
    2002-02-06 07:23:15  swanilda [View]

    Has anyone answered this? I have the same problem. I have a DSL router and a dynamic address. I can access my pages within my network, but outside users can't see them. Is there any work around for firewalls/dynamic addresses?

  • Serving Pages from behind Firewall
    2002-02-23 08:46:43  chmoore [View]

    Yes, it's possible.

    If you're just using a firewall with public addresses inside (NOT 192.168.x.x, 172.16-32.x.x or 10.x.x.x), just set up the firewall to allow requests to port 80 through.

    If you're using a NAT firewall, you have to set it up to "port-forward" requests to port 80. See your Firewall's manual for this. You'll want to set up a rule that any request for port 80 coming to the firewall's public address (e.g. is forwarded to your web server's internal address (e.g. That'll do it.

    Another issue is that some ISPs, particularly cable companies, block port 80. This was done to stop the spread of some virus that affects Windows web servers (blech!). Since you are using a Mac, you're an innocent victim. The work-around for this is to tell people to direct their browsers to a different port with a command like: http://www.mydomain.com:8080. Then set up port-forwarding to direct requests for port 8080 to port 80 on your internal mac. How to figure out what ports are allowed through by the ISP is beyond the scope of this discussion.