What Is My IP Address? - IP Address Lookup, Bandwidth Speed Test, IP Info, plus more

WhatIsMyIP.com: The fastest, easiest way to determine your IP address.



Go Back   What Is My IP Forum > Routers Routers Routers > Port Forwarding


Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2008, 06:54 PM
AboveTheLogic's Avatar
AboveTheLogic AboveTheLogic is offline
Super Moderator
 
Join Date: Jul 2008
Location: Vegas
Posts: 169
Default Port Forwarding, what is it?

First, before understanding why and how to forward ports, it is important to understand what a NAT IP is vs. an Internet IP:

[url]http://forum.whatismyip.com/f2/internet-ip-vs-local-ip-t100/[/url]

Specifically the part in bold.

Now, it is important to understand what ports are. We are not talking about physical ports that you will find on the back of your computer. What we are talking about are virtual ports that exist as part of the [url="http://en.wikipedia.org/wiki/Network_port"]TCP/IP and UDP[/url] protocols.

There are 65536 ports ranging from 0-65535.

The most [url="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers"]commonly used ports[/url] are the lower numbered ports.

I'll use Windows' [url="http://en.wikipedia.org/wiki/Terminal_Services#Remote_Desktop_Connection"]Remote Desktop Connection[/url] as an example (also known as Terminal Services).

The service, Terminal Services, listens (by default) on port 3389. When you open the Remote Desktop Client (run command "mstsc) and type in an IP, by default, the client will attempt to connect to that IP on port 3389.

When you put in an Internet IP, unless your computer is connected directly to a cable modem without [url="http://en.wikipedia.org/wiki/Network_address_translation"]NAT[/url], this should all work just fine and dandy.

When you are behind a router or a modem that IS using NAT, you need to [url="http://en.wikipedia.org/wiki/Port_forwarding"]forward the port[/url] to the local IP address.

The reason for this is, the router will receive the connection, but obviously the router itself isn't equipped to handle that request. The router needs to know which machine on your Local Area Network (or [url='http://en.wikipedia.org/wiki/Local_area_network"]LAN[/url]) to send the request to, this is why port forwarding is necessary.

Obviously to some, not to others, the router can only forward this request to ONE PC at a time. So, if you are running more than one machine, you will need to change the default port and forward it as necessary, or simply use a [url="http://en.wikipedia.org/wiki/Virtual_private_network"]VPN[/url].

If you do not know how to do the actual port forwarding configuration with your router, I find that there are usually instructions on the manufacturer's website with pictures and everything

Last edited by AboveTheLogic; 09-20-2008 at 06:56 PM..
Reply With Quote

  #2  
Old 10-08-2008, 02:30 AM
aziernest aziernest is offline
Member
 
Join Date: Sep 2008
Location: @.whatismyip.com
Posts: 50
Send a message via MSN to aziernest Send a message via Yahoo to aziernest
Default

Pretty good, just wanted to say thanks for sharing
Reply With Quote
  #3  
Old 10-15-2008, 08:00 PM
oshantoshagorr@gmail.com oshantoshagorr@gmail.com is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default

thanks a lot.
Reply With Quote
  #4  
Old 10-28-2008, 11:59 AM
fsmobilez fsmobilez is offline
Junior Member
 
Join Date: Oct 2008
Posts: 3
Default

Nice post thanks for sharing such a useful post
Reply With Quote
  #5  
Old 12-12-2008, 10:02 PM
romantic romantic is offline
Junior Member
 
Join Date: Dec 2008
Posts: 18
Default Instructions for RP614, MR814, WGR101, WGR614, WGT624, WGT634U, WGU624, WGM124, or WP

I hope this will be useful
These routers do port forwarding by assigning port numbers to a "service" that is associated with the application you want to run.

To Let an Application Use Port Forwarding

1. Type the router's address in an Internet browser's address bar. (By default the router's address is 192.168.0.1). The Setup Wizard appears.
2. Enter the router's username and password.
3. Under Advanced, click Port Forwarding on the left menu bar.
A Port Forwarding Screen (Varies Slightly by Router)

4. From the Service & Game (or Service Name) pull down, select the service that you will host. The services the router knows about are listed here. If the service does not appear in the drop down, add a service as described in the next section, then return to this step.
5. Enter the IP address of your local server in the Server IP Address box.
6. Click Add.
7. Click Logout to exit from router settings.

To Add a Service for These Routers

To define a service not in the Service Name list, determine what port numbers are used by the service.

1. Click Add Custom Service.
2. Enter the first port number in an unused Start Port box.
3. If only one port number is to be forwarded, enter the same number in End Port. To specify a range of ports, enter the last port to be forwarded in the End Port box.
4. Enter any name you choose for the service.
5. Click Apply.
Reply With Quote
  #6  
Old 12-18-2008, 07:41 AM
zaidis zaidis is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
Default

Thanks its nice information.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:02 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright - WhatIsMyIP.com