TUTORIAL: How To Open Ports and Forward them to your Router
The first half of this tutorial is intended to show you how to open ports on your PC. The second half will show you how to forward those ports to your router so that outside sources can access them.
Tutorial Created Using Windows XP Pro…If you’re not using this O/S your screenshots may look slightly different.
Written By: tEChniiQue
Go to -> My Network Places -> View Network Connections
*Now right click on the LAN Connection that provides your internet access and select Properties:
Click Advanced -> Settings
Now click Advanced -> Highlight your internet Connection -> Click settings
A window should open similar to the one below but would more than likely have existing ports open on your system listed.
Click add and you will see this set settings windows appear
*Description of Service: Usually the program name (abbr.) and/or the port number being opened
* Name or IP address: Just what is says. If you don’t know your PC’s name just put the IP address.
[bold]Note:[/bold] If you don’t have a Static IP address on your PC then everything you’re doing can and will be ineffective if and when your IP address changes. Set a Static IP for your system
*External Port/Internal Port number for this service: Unless you know exactly what having two different ports here consist of, keep them the same.
*TCP: TCP enables two hosts to establish a connection and exchange streams of data.
*UDP: provides very few error recovery services, offering instead a direct way to send and receive datagram’s over an IP network.
[bold]NOTE:[/bold] Between TCP & UDP make sure you set the port for the type you need. If one port needs both types then you’ll have to the go through these settings twice.
This section was will show you how to forward ports you’ve just opened to your router. Since I don’t own every router in existence, I’ll show you what it takes for the LinsysWireless Broadband Router to have ports forwarded to it. The concept is the same for all routers and once you familiarize yourself with the steps, you should be able to navigate through
your router settings with ease.
First you need to access your router. Open Internet Explorer and type 192.168.1.1  Enter. A user name and password box should appear like the one below. The factory password for this router is “admin” (without the quotes), leave the user name blank. Some routers may be "admin" as the user name with the password area blank. Check the documentation that came with your router or refer yourself to the company website to figure out what this is for your router.
[bold]NOTE:[/bold] I highly recommend you changing that password from the factory setting ASAP if it still exists.
Once you type your password, the router settings should be displayed
Select Application & Gaming ->
This screen is very easy to handle once you get familiar with it.
*Application: Input a small abbreviation so you know what program you’re forwarding the ports for
*Start to End
Many times, a program will need a range of ports forwarded (i.e. 21000-21005)
Under start, type the initial port and under end type the last port of the range.
*Protocol: I explained what TCP & UDP were earlier, here all you do is select the one that the port utilizes
*IP Address: I can’t stress enough “create yourself a Static IP”. Here you input your current IP. Like was saying before; you complete this process and reboot your PC, the IP might change. Therefore, this setting would not be accurate and your ports will no longer be forwarded.
*Enable: Self Explanatory
Here is one good thing about the forwarding part. Let’s say you have a range of 10 consecutive ports to forwards (1100 – 1110). For the router settings you just type the start and finish but you’ll have to do each individual one and if the selection is both for all, you just doubled your work. No biggie, right?!
Save your settings and restart your system.
Obviously various people have different routers. So, if you post what your router's type and model number are as well as what
program(s) you are trying to access and I will do my best to PM you the info you need to get set up properly.Source: forums.afterdawn.com