After managing to acquire an account with DynDNS, I am now ready to configure the router to allow me access my home computer over the internet. I am using a LinkSys WRT160NL and I have already installed DD-WRT.
Open web browser and type the address of the router. I have changed the default address from 192.168.1.1 to 10.0.1.1
Type the User name and password to log in to the router. The default use name and password is admin. I have already changed this to reduce chances of anybody who may know the default username and password from logging in without my permission.
The first thing you need to do is set a static IP for the computer to which you will forward ports. Select the Services tab and under DHCP Server and below Static Leases, click on the Add button. Type the MAC Address for the computer, the host name and the static IP address you would like assigned to this computer. Apply and save the settings.
Click on NAT/QoS tab , Port Forwarding.
Under Forwards, click on Add button and type name of application (you can use any name you like). I am forwarding HTTP so I will type HTTP.
Select protocol or just leave it set at the default (Both)
If you want to place a restriction on the IP that may be forwarded, type the IP under Source Net otherwise leave it blank to allow forwarding from any IP.
Port from will be the external port as will be seen by users on the internet. I am forwarding port 80 and will therefore type 80.
Type the static IP Address you defined for your computer above
Port To will be the internal port used by your application. Most times this will be the same as the Port From
Check the Enable check box.
Save the settings and you are ready to test.
To test whether you have successfully forwarded the port, navigate to you get signal and click on the Check button.
After forwarding, initial tests indicate that the port is not open. Doing a http://localhost test works ok but a test on the LAN gives an error of timeout on Firefox. Windows network diagnostics indicate that the website is online but isn’t responding to connection attempts.
To resolve the issue, I followed the following steps (Windows 7).
Click on Start and select Control Panel
Select System and Security
Under Windows Firewall, click Allow a program through Windows Firewall
Click Change Settings
Locate World Wide Web Service and click the check boxes to turn ON and allow this feature.