This guide will show you how to forward ports on the Linksys Cable/DSL Router. The screen shots you will see are from the older firmware (1.2x) of the router. Newer firmwares for the router include the ability to forward ranges of ports, not just single port numbers.
The router information says that you cannot have port forwarding enabled if you have DHCP enabled on the router. This is NOT correct. You CAN have both port forwarding AND DHCP active if you take the proper precautions. You need to create a network that is half static, and half dynamic. You must assign your server machine a static LAN IP address. The rest of your computers on your network can have dynamic LAN IP addresses assigned from the Linksys router. You must make sure that the range of IP numbers that the Linksys router assigns does not include the static IP address you gave your server. For example, if you gave your server the IP number 192.168.1.20, then you can tell your Linksys router to assign IP's from the range of 192.168.1.100 --> 192.168.1.200. Basically, you don't want the static IP of your server to be included in the range of IP's your router will be handing out to the rest of your computers. This holds true for any home router.
Let's play! - (sorry Regis)
To log onto your Linksys router, type in "192.168.1.1" into your web browser.
|
You'll see the following prompt asking for the username and password.
|
This is the first page you'll see when you log onto your linksys router.
|
Click on the orange tab labeled "Advanced".
|
Click on the orange tab labeled "Forwarding".
|
In the gray box is the list of ports that are commonly used by servers.
In our example here, we will forward ports 80 (for HTTP) and ports 25 (for SMTP mail). Why no FTP port? First of all, the less ports open, the more secure your home network is from the Internet. Second of all, I'm assuming you'll be doing your FTP'ing from home on the LAN so these port forwarding won't matter. You'll still be able to FTP from inside your LAN network, just not from the WAN (Internet)
But since it's your own network, you're free to open whichever ports you like!
The computer (server) we want to forward the port to in our example has the IP number of "192.168.1.20".
This is what it looks like when it's done:
|
Click on "Apply" at the bottom of the screen and you're done!
The changes take place immediately and you should be able to access your webserver by typing in the IP number of your DSL or Cable Modem (WAN IP number).
Note: You can also access your server from the internal IP number (LAN), but this does not test if your port forwarding is working correctly or not.