Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Port forwarding"

From PCGamingWiki, the wiki about fixing PC games
(initial rough draft)
 
Line 1: Line 1:
In simple terms, a network port is a particular "address" that a program can use when trying to send and receive data from the network. Port forwarding is the act of opening a particular port on your connection so that a program can properly send and receive the data it needs.
+
This is a technique to overcome some shortcomings of NAT(Network Address Translation). The basis of port forwarding technique is that you have an external IP address on your router which is accessible by the Internet, and you have an LAN(Local Area Network) IP address on your computer only accessible by other computers and devices on your internal network. In order for the general Internet to be able to make a connection to this computer on your internal network, you need to let the router know which port to listen on, and once connection request is received, where on the internal network to send this connection request. Thus, you usually will need three pieces of information to enable this function:
 +
* What port on the public IP address should the router listen to?
 +
* What LAN IP address should the router forward the request to?
 +
* what port on the LAN IP address should the router forward the request to?
 +
There are also advanced network techniques that automatically configure port forwarding information such as port knocking and UPnP.
 +
 
 +
#[http://en.wikipedia.org/wiki/Port_forward Wikipedia - Poward Foward]
 +
#[http://en.wikipedia.org/wiki/Port_knocking Wikipedia - Poward Knocking]
 +
#[http://en.wikipedia.org/wiki/UPnP Wikipedia - UPnP]
  
 
==Forwarding Ports==
 
==Forwarding Ports==

Revision as of 19:21, 27 February 2012

This is a technique to overcome some shortcomings of NAT(Network Address Translation). The basis of port forwarding technique is that you have an external IP address on your router which is accessible by the Internet, and you have an LAN(Local Area Network) IP address on your computer only accessible by other computers and devices on your internal network. In order for the general Internet to be able to make a connection to this computer on your internal network, you need to let the router know which port to listen on, and once connection request is received, where on the internal network to send this connection request. Thus, you usually will need three pieces of information to enable this function:

  • What port on the public IP address should the router listen to?
  • What LAN IP address should the router forward the request to?
  • what port on the LAN IP address should the router forward the request to?

There are also advanced network techniques that automatically configure port forwarding information such as port knocking and UPnP.

  1. Wikipedia - Poward Foward
  2. Wikipedia - Poward Knocking
  3. Wikipedia - UPnP

Forwarding Ports

Each router is slightly different in how you access their port forwarding page, so use this page to figure out how to access those router settings.

Once you have found the proper page on your router, you must then know what ports to open. Try googling "game name ports" and see what ports a given game needs open.

Problems Caused by Closed Ports

Single player games usually don't need any ports forwarded for normal use, but multiplayer games do. Thus, a multiplayer games may be unable to or outright refuse to connect to the internet if the necessary ports are not forwarded.

Testing for Open Ports

Several websites can check if a port is open or closed, including Can You See Me and You Get Signal.