Alright. So recently, we've have some questions about how to get access to a computer that is behind a router. The general consensus is that its impossible. Luckily for us, its not. In fact, its actually pretty easy. This tutorial is going to be pretty short, but by the end of it you should be able to set up any linksys router to allow a computer to run a service.

Attached are screenshots to help you see what's going on, and what many of the pages should look like. They're in the .png format, but you shouldn't have any trouble with them. If you would like them in another format, PM me and I'll send them to you.

It should be possible to do similiar things with a Netgear router, but I cannot be sure. At the moment, I do not have access to any Netgear routers, so I will not be able to give exact instructions. If you know your way around the router, you'll be able to figure out what you're looking from from this tutorial.

[edit]
I have since been told that Netgear routers work almost the same way, with almost the same steps as follows. Using this as a guide, it looks like you shouldn't have any problems with it...just adapt the steps slightly. Thanks Axeman!
[/edit]

For this tutorial/walkthrough, we'll be using my home network. Here's the basic information that we'll need:
There are two routers, both Linksys.
The first one, closest to the internet, is a wireless router downstairs
The second one, in my room, is a regular four-port linksys router.
There are two subnets, really. The two subnets are created by the two routers. Subnet two lies entirely under router two, while subnet one lies entirely under router one. Router two is a part of both subnets, since it is hooked up to both. The first one has three assigned addresses, Sally, Davids_Desktop, and 000625F5AFB3. We can ignore Sally and Davids_Desktop. Below are the crucial IP Addresses that we'll need to know:

4.13.167.16--Internet, outside IP
192.168.1.1--Router one, Subnet one
192.168.1.101--Router two, Subnet one
192.188.1.1--Router two, Subnet two
192.188.1.101--Requiem (My computer)

Alright, so we're ready to begin. First of all, you need to know exactly how to make connect to your router so that you can make the needed changes. On a linksys router, the default base address is 192.168.1.1. If it has been changed, it will most likely be the base address for the range that you're using. I.E.

The Range of IP Address is 224.123.41.101-224.123.41.110 The address you want to use is PROBABLY at 224.123.41.1

Type the appropriate address into your web browser, and hit Go. A password prompt will come up. The default is no user name, password admin. If its been changed, enter it accordingly. The page that comes up should look something like screenshot1, which is attached. If it doesn't look exactly like that, its fine, don't worry about it. They differ between the exact settings and the exact router. As long as its close, we're okay.

Start at the router that is closest to your computer, the one that your computer plugs directly into. Connect to that router, and then click on Status, which is one of the tabs near the top of the page. It should look like screenshot two. From there, click on "DHCP Clients Table" this will give you a listing of all of the IP Addresses that are hooked up to that router. See screenshot 3.

requiem 192.188.1.101 00-08-74-E2-BD-67 Is the computer that I am on, and the one that I'm interested in. The IP address is 192.188.1.101. Now, if you also happen to be doing all of these things from the computer that you want to run a service off of, then you can skip that last step. Go ahead and instead just look at the Status page. The first thing under WAN is your IP Address, which is still 192.188.101 The order may vary between exact routers, but it'll be on there.

Take note of the IP address, and also make sure that you've noted exactly what the gateway IP Address is. If this is the only router on the network, you don't have to worry about a this.

From there, go on over and click on Advanced. See screenshot4. From Advanced, click on Forwarding, or Port Forwarding. Screenshot5. From here, you just need to know the IP Address that you want it sent to, and the port that it will be running on. Fill it out accordingly, and any request for a service directed to the router will be forwarded to the computer behind it.

Tada! You can now run SSH, FTP, or nearly any other service* behind the router.

*NOTE: With Linksys routers, it is NOT recommended that you run webservers this way. Since many changes are made to the router using a small webserver, and access through port 80, any port requests that are sent to the router will go to your computer instead. It will become next to impossible to make further changes.

Continue with the same procedure until you reach the router that connects directly to the internet. From this point on, however, you'll want to forward the ports to the routers, only forward it to your computer at the very end. While it is possible to forward directly to your computer, it often causes problems with the subnet, and it is not recommended if you are new to this.

If you do all of this, you shouldn't have any problems running a few services behind a router.

Good luck!