How to Set up Port Forwarding on a Router
There are a couple of concepts you need to know before you can understand port forwarding. I'm going to make a couple broad statements that are almost always true. For simplicity lets assume they are true for now.
1.) Every device on the internet has at least one IP address. The IP address is a number that is used to identify a device.
2.) Every IP address is divided up into many ports. When one computer sends data to another computer, it sends it from a port on an IP address to a port on an IP address.
3.) A port can only be used by one program at a time.
Now that you understand the general concepts of a network, explaining port forwarding is easy. When a computer on the internet sends data to the external IP address of the router, the router needs to know what to do with the data. Port Forwarding simply tells the router which computer on the local area network to send the data to. When you have port forwarding rules set up, your router takes the data off of the external IP address:port number and sends that data to an internal IP address:port number. Port Forwarding rules are created per port. So a rule set up for port 6802 will only work for port 6802.
1. The first step is to go to your router's "web page"
Caution: You'll need your pc connected with a wire, this is called a LAN (Local Area Network) connection.
2. Open up your web browser, and enter the standard IP (internet protocol) for your router.
This is normally: 192.168.1.1 or 192.168.0.1 (check your computer's Default Gateway start > Run > cmd > ipconfig /all)
Enter 192.168.1.1 Into your address bar
If your router asks for a username and password, the default setting is no username and the password is "admin"
on Linksys routers its "admin" for both user and password.
on Netgear Routers its "admin" for username and "password" for "password"
3. Look for a Tab with a Name Similar to this
Look for a tab with a name like, "Port Forwarding" or "Applications and Gaming"
4. Next, enter the desired ports.
If your router asks you whether to open ports for TCP or UDP select both.
The Page Should Look Like This
Some routers offer a from port ___ to port ___, if you only want one port open enter the same number into both blanks.
5. Next, enter the IP address of the computer you would like the data from that port to be sent to.
Pay specific attention to the last three digits, most routers will only ask for these.
6. Make sure you press the "Save Settings" button, or your changes will not take effect.
7. Try everything out to make sure it all works.
Once Ports are forwarded you will need a Computer that is connected to the internet on the same network and go to CanYouSeeMe.org - Open Port Check Tool at http://canyouseeme.org (See figure below).
Type the PORT number that you forwarded in the “What Port” box and click “Check”. If a Success message appear at the bottom your ports are open. If not, go back to you router or firewall and re-try the port forward process. In case your DVR is PC Based, you Need to have the DVR SOFTWARE OPEN in order to test if the ports are correctly Forwarded.
Make sure you type all numbers correctly. A wrong port will cause the program to not work properly, so double check everything.
Every time your router is turned on or off, your computer may be assigned a different IP address, when this happens, go to your routers "webpage" and change the information in port forwarding.
Otherwise, set up a static IP Address. You can learn how to do this at portforward.com.
Look in your router's manual for details on accessing the control panel, and how to set up the forwarder specific to your model.
Be sure that you do not open all ports on your router, this allows hackers access to your computer this is also called DMZ(De-Militarized zone)!
Always use anti virus software, anti-spyware, anti-adware, and firewall protection.
If you find your routers have default password , make sure to set a new password because it can be a huge security risk.