Port Forwarding How to

Port forwarding is a technique that you can use on router to allow the computers from Internet to access your home network’s servers that only have private IP. Sometimes it’s also call virtual server by some router vendors.

As most of us only have 1 public IP that binds to cable/DSL connection at home, it’s not possible to allow remote connection from Internet to internal servers without using this technique. However if you have set up a home network with all the computers NATed behind a router, you can enable port forwarding on router to allow remote connection.

Here is how it works, when the Internet packets hit cable/DSL router or wireless router with particular destination port number, the router will forward the traffic to particular internal servers based on that destination port number.

When you do this configuration on router, you need to know the ports that used by the software/server that you plan to have port forwarding, and then configure the port information and also the computer IP that will run that application/server. That’s all… Also check on the router manual for more information on how to do it.

port forwarding network

Here are some examples of the port forwarding usage by implementing on Linksys WRT54G router.

Example 1:

I’ve set up a temporary web server at home. I would like my friends to access the web server. After implementation, my friends can just open IE or other web browsers and key in my Internet connection’s public IP to access it.

Web Server
Port: TCP 80

web server port forwarding

Example 2:

I would like to set up a Dune 2000 game server, so that can play the game with my friends that stay nearby. After implementation, I requested my friends to connect to my Internet connection’s public IP from his Dune 2000 game console to join the network game over Internet.

Dune 2000 Game Server
Port: TCP 4000, TCP 1140-1234

game port forwarding

Example 3:

I need my friend’s help to make Remote Desktop connection to my computer to do some printer troubleshooting. After implementation, he can make Remote Desktop connection by pointing to my Internet connection’s public IP.

Remote Desktop Enabled Computer
Port: TCP 3389

RDP remote desktop port forwarding

Note: After you have done the updates on your router, you could also go to canyouseeme website to check if the port is opened correctly. When you surf this website, it will detect your home network's public IP address, you could then key in the port you have just opened and perform checking. Pretty easy to check!

check your network port for port forwarding

Related Articles:

Easy Way to Check WAN IP of Cable/DSL Connection

3 Methods to Enable Program Exceptions in Windows Firewall

IP Forwarding - How to make Windows XP as a Router

Return to top of "Port Forwarding How to"

Enjoy this page? Here's another way to pay it forward...

Would you prefer to share this page with others by linking to it?

  1. Click on the HTML link code below.
  2. Copy and paste it, adding a note of your own, into your blog, a Web page, forums, a blog comment, your Facebook account, or anywhere that someone would find this page valuable.