Thursday, October 28, 2010

Mikrotik Port Forwarding

Port forwarding or port mapping is the technique of forwarding a TCP/IP packet traversing a network address translator (NAT) gateway to a predetermined network port on a host within a NAT-masqueraded, typically private network based on the port number on which it was received at the gateway from the originating host.


The technique is used to permit communications by external hosts with services provided within a private local area network.

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).

In a typical residential network Internet access is obtained through a DSL or cable modem connected to a router or network address translator (NAT). Hosts on the private network are connected to an Ethernet switch or communicate via a wireless LAN. The NAT device's external interface is configured with a public IP address. The computers behind the router, on the other hand, are invisible to hosts on the Internet as they each communicate only with a private IP address.

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. External hosts must know this port number and the address of the gateway to communicate with the network-internal service. Often, the port numbers of well-known Internet services, such as port number 80 for web services (HTTP), are used in port forwarding, so that common Internet services may be implemented on hosts within private networks.

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 itu memiliki konsep untuk meneruskan paket yang datang ke ip tertentu dan port tertentu ke ip tertentu dan port tertentu. Misalnya saya punya ip publik a.b.c.d dan saya ingin meneruskan semua paket yang menuju port 80 pada ip tersebut ke IP Lokal / LAN saya dengan ip ip v.w.x.y port 80 juga. Tujuannya biasanya untuk menghemat penggunaan IP publik.

sering disebut juga :
PAT atau NAPT :
PAT (Port Address Translation)
NAPT(Network Address and Port Translation)

Berikut adalah tutorial bagaimana contoh penerapan port forwarding untuk port 80 (web servise) di Mikrotik

Download Here

1 comment: