Difference between NAT and proxy

NAT vs Proxy


Network Address Translation (NAT) is the process that changes the IP address in the header of an IP packet as it travels through a routing device. NAT allows one set of IP addresses to be used for traffic within a local area network (LAN) and another set of IP addresses for traffic outside. The one-to-one transformation of IP addresses is provided by the simplest form of NAT. The proxy (proxy server) is a server located between a client (looking for a resource) and another server and which acts as a mediator. The client requesting the resource connects to the proxy server and the proxy evaluates the request according to its filtering rules.

What is NAT ??

NAT changes the IP address in the header of an IP packet as it traverses a routing device. NAT allows one set of IP addresses to be used for traffic within a local network and to another set of IP addresses for traffic outside. The one-to-one transformation of IP addresses is provided by the simplest form of NAT. NAT has several advantages. It improves the security of a local network because it offers the possibility of hiding internal IP addresses. In addition, since IP addresses are used only internally, this will not cause any conflict with IP addresses used in other organizations. In addition, the use of an Internet connection for all computers on a local network is made possible by NAT. NAT works with the use of a NAT box located in the interface where the LAN is connected to the Internet. It contains a set of valid IP addresses and is responsible for translating IP addresses.

What is a proxy?

The proxy is a server located between a client (looking for a resource) and another server, which acts as a mediator. The client requesting the resource connects to the proxy server and the proxy evaluates the request according to its filtering rules. If the request is validated, the proxy connects to the server and provides the requested resource to the client. On the other hand, the proxy can satisfy the client's request without accessing the specified server. For this, the proxy uses a cache and all subsequent requests for the same resource are satisfied without contacting the specified server. As a result, proxies can significantly improve performance. In addition, proxies can be used to filter requests and prevent access to certain websites.

What is the difference between NAT and proxy?

NAT changes the IP address in the header of an IP packet, when it passes through a routing device, and allows the use of a different set of IP addresses for traffic within a local network. that of IP addresses for external traffic, while a server located between a client and another server and acting as a mediator. NAT does not need any special application software to operate, while applications behind a proxy server must support proxy services and must be configured to use the proxy server.

Post a Comment

0 Comments