Get the App
SLTechnology News&Howtos  ›  Network Security  › 

What is the difference between NAT,PAT and reverse proxy?

Shulou Source: shulou.com Published: 2022-06-01 04:22:23 10月03日 Update

NAT is divided into static NAT, dynamic NAT and PAT

1. Static NAT: It is a one-to-one mapping of private ip and public ip, and the port number does not change. It is generally used for local area network Internet access.

Dynamic NAT: It is a many-to-many mapping of multiple private IPs and multiple public IPs (address pools), and the port number does not change. When the legal IP address provided by the ISP is slightly less than the number of computers inside the network. Dynamic conversion can be used.

3. PAT: refers to changing the source port of outgoing data packets and performing port translation, i.e. Port Address Translation (PAT). Port multiplexing is adopted. All hosts in the internal network can share a legitimate external IP address to access the Internet, thus minimizing IP address resources. At the same time, it can hide all hosts inside the network, effectively avoiding *** from the internet. Therefore, port multiplexing is the most widely used method in the network at present.

PAT and nginx reverse proxy implementations have the same effect.

Tags: Address port network dynamic that is way legal host slogan multiple static public network multiplex change multiplexing private proxy maximum efficient one-to-one Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux Huawei Docker Xiaomi