web analytics

Web publishing from home

I have been having a discussion with a colleague about setting up a web server on a home LAN. I have done this and thought it might be useful to record the main configurations needed.

My router is also a firewall which basically means that by default all inward traffic is blocked. Anyone accessing my server which has a private IP address (192.l68.1.X) which cannot be reached as the 192.168.X.X address range is un-routable over the Internet. However, we know that all web traffic is transmitted on port 80 so what we need to do is to ensure that any port 80 traffic which is received by the router/firewall can be passed into the Web server.

This can be done by using a port map! This means that we need a firewall rule which stats that any port 80 traffic coming from the internet to the Router public address should be passed in to the sever on address 192.168.1.X. The detailed description of how to do this might vary from one router to another so I will not give any details here.

In my case my Router is assigned an IP address by my ISP – this address can change from time to time. So I use a free Dynamic IP service provider to maintain a DNS entry for my router which identifies it as ruach.homeip.net regardless of the IP address which is has been assigned by the ISP. My router supports this so it works fine. See the following web site http://www.dyndns.com via the following link:

  • Click Here
  • Of course it is not considered to be a good solution for a web server which is being heavily accessed or is service broadband content such as video. This is because of the fact that a domestic ADSL service has a low bandwidth up stream connection. In my case not very many people will want to access my server so I am happy to configure it this way for now. I rather feel that a diagram is needed to fully explain this – I will try to provide on soon!

    The following diagram illustrated this setup – you can click on the image to see a larger version.

  • One thought on “Web publishing from home”

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.