September 6, 2007 (17 years ago)

How To Forward Port 80 for a Web Server via ProLink H9200 ADSL Modem/Router


Goal:
Configure the modem/router to send incoming packets with port 80 as the destination to the computer within the LAN (local area network) running the web server.

ProLink Hurricane 9200 is an ADSL modem/router provided by ISP's (internet service provider) to broadband subscribers. By default, it is basically configured to allow internet access only. It is not configured to allow access to your desktop computer's web server for outside visitors.

Port Forwarding

We need to forward incoming packets containing a request for access to your web server.

  1. In the browser, go to the modem/router's control panel at default address http://192.168.1.1. The default username/password is admin/password.
  2. Click on Services tab. You will be taken to the Network Address Translation (NAT) Configuration page.
  3. In the NAT Options: dropdown, select NAT Rule Entry.
  4. We will create a NAT rule by clicking on Add button. The NAT Rule - Add page will pop up.
  5. Fill up the form with the following settings:
    Rule Flavor:
    RDR
    Rule ID:
    2 (or whatever is the next available number in the NAT Rules list)
    Protocol:
    TCP
    Local Address From:
    192.168.1.4 (If you are linking the modem directly to a computer or through a switch, default LAN IP address assigned by the modem/router's DHCP to your computer. Please verify your local IP address.)
    192.168.1.5 (If you are linking the modem to a router's WAN port, default LAN IP address assigned by the modem/router's DHCP to your router. Please verify your router's IP address. You must also configure port forwarding at the router.)
    Local Address To:
    (Same as Local Address From:)
    Destination Port From: and Destination Port To: fields
    HTTP (80)
    Local Port:
    HTTP (80) (Select Any other port if your web server is using another port number besides port 80. Then type your web server's special port number in the next box.)
  6. Click Submit button below the page.

IP Filter

At this point, we have basically configured port forwarding in the ProLink Hurricane 9200 ADSL modem/router. However, incoming port 80 packets are still refused due to IP Filter rules being applied to them. We need to accept incoming port 80 packets.

  1. Under the Services tab, click on IP Filter.
  2. In the Private Default Action: dropdown, select Accept.
  3. Click Submit button below the page.

This is a low security solution. The best way is to add or modify a filter rule in the list but we don't want to mess up the default rules.

Hello, World. Can you see me? How to test for web server visibility

Before we test our web server, let's test if your ISP's port 80 is open.

  1. Go to http://www.canyouseeme.org. The page will display your current public IP address.
  2. Type 80 in the What Port? box.
  3. Click Check button.
  4. Somewhere below the page, you should see the following test result if your ISP allows port 80 traffic.
    “Success: I can see your service on x.x.x.x on port (80)
    Your ISP is not blocking port 80”

At this point, we have successfully allowed incoming port 80 traffic inside the LAN to the web server. Let's now verify if the world can see your web server's index page.

  1. Go to http://www.browsrcamp.com
  2. In the URL to test box, append your public IP address.
  3. Click View button. You should be able to see your web server's index page appear below.

Save settings permanently

Congratulations! You have setup your own home-based web hosting. Let's save our modem/router configuration to memory so they will remain even if the modem is turned off.

  1. In the modem/router's control panel page, go to the Admin tab.
  2. Click Commit & Reboot.
  3. In the Commit & Reboot page, click Commit.