Category: What is ? Published Date Written by mafia97 Hits: 1304
Port forwarding allows remote computers, for example, computers on the Internet, to connect to a specific computer or service within a private local area network (LAN). When configuring port forwarding, the network administrator sets aside one port number on the gateway for exclusive use of communicating with a service in the private network, located on a specific host.
Typical applications include the following: ->Running a public HTTP server within a private LAN ->Permitting Secure Shell access to a host on the private LAN from the Internet ->Permitting FTP access to a host on a private LAN from the Internet Port forwarding is configured in the gateway's operating system. You need to login into your gateway. To do that follow these steps: [Getting the IP address of the gateway] Step1. Open command prompt. Step2. Enter the following command ipconfig (ifconfig for linux based systems) step3. Note the IP address of the default gateway. [login to the gateway] step1. In you browser go the IP address you found out in the previous step. Step2. Now there shall be a login panel in front you, if you havent made any changes earlier then the default username and password are set to admin and admin respectively. step3. Once you have logged into the gateway you now need to look for things like port triggering, NAT-host or DMZ-host etc [Choosing the right option] When you have logged in once you might see things like port triggering, internal port start and end, external port start and end, DMZ-host, NAT etc.. lemme take up each of them one by one. NAT NAT or the network address translation refers to the modification of the IP headers of a packet. It means that we have modified the destination a particular packet from what it is destined to. It should be of use when you want a particular service on a particular port to reach a computer that is connected in the lan DMZ-host DMZ host is the machine in the subnet to which the router/gateway would redirect all the traffic from any external source irrespective of what port or service is asked for. Port Triggering Port triggering is the same as port forwarding which is to fix a particular port in the gateway's setting so that when ever a service on that port comes to the gateway the gateway forwards the traffic to the private IP address for which the port is forwarded. The Internal port end/start and the External port end/start The internal port refers to the port on the system in the network, the external port refers to the port that an external ip address has used to access your IP. The end and start are used to define a range of ports that could be forwared if you want only a single port keep them same. Finally when you have considered and completed things mentioned above. In you router you would see an add option in the NAT/DMZ/Port forwarding section. Click on it. Now since every router may have a different OS. I tell here what common things you need to specify for any port forwarding. 1. The internal ip address for which you want forward a port. 2. The ip address internal/external end/start these all port numbers should be changed to the single port number you want to forward.