IELAB laboratory network port mapping and port forwarding difference

Port mapping and port forwarding difference

Port forwarding: port forwarding (Port forwarding), sometimes called the tunnel, is a Secure Shell (SSH) is a method used in a secure communication network. Including network up and running a web server or FTP server is no way to directly access the extranet users through NAT on the route opened to establish the appropriate port forwarding mapping, you can instruct the router to forward a specific network port (such as 80 , 21 for the network server or FTP server) information for all the local network. This means that if an external host attempts to access the corresponding IP plus port outside the network via HTTP, you can have access to the appropriate server within the network established. External users access the server does not know the server is located on the internal network. This method is widely used in Internet cafes or create your server via NAT to share Internet access intranet. Namely public security monitoring system to monitor Internet data via this method. Port forwarding, more secure than other methods easier to use, the enterprise may have many specialized services, such as ERP systems, surveillance systems, OA system, CRM and so on, users do not need transplants or update an existing application-specific services alone the external IP address, simply look at the configuration of the port forwarding function gateway routing, you can enable users to use these services on the Internet. Port forwarding is generally often used for communication between a virtual machine and the host.
Port Mapping: port mapping port mapping is to a host of internal network to the external host of a port, provide the necessary services. When the user accesses the external network IP port of the server automatically maps the request to a corresponding internal LAN machines. For example, we have an intranet Web server, but users outside the network is no way to directly access the server. So we can set up a port forwarding on the router, as long as the 80-port network users to access external ip router, the router will automatically flow to port 80 on the internal Web server. Further, there is a router on a Session, when the server returns the data to the router, the router can accurately send a message to the user requesting the external network host. In this process, the router acts as a reverse proxy role, he protected within the network security host of
Here Insert Picture Description
differences:
To achieve the same goal, port forwarding you send me the data using different methods, I will open the data to see if the data show who to mark, then put the data to anyone. Port mapping is, for example, you put the data on my right hand, I will give Joe Smith, you put my left hand, I'll give John Doe, do not look for me in the end you put a something.
The core principle port forwarding and port mapping is the same, but the scene is not used, we will forward the port of the machine to a remote port, we can be called port mapping, can be called port forwarding; if we put this the IP can access any port forwarding to port to another server, and we told him to port forwarding. Curved around a little, and ultimately is to see the actual scene.

Part of the contents from the network
Photos from the network
assistant: Madina

Reprinted: http://www.ie-lab.cn/

Guess you like

Origin blog.csdn.net/spccie/article/details/91543549