Masquerade (hide) NAT

 

Masquerade (hide) network address translation (NAT) enables you the actual address of a personal computer private. NAT routes traffic from your personal computer to your system, which essentially makes the system the gateway for your personal computer.

Masquerade NAT allows you to translate multiple IP addresses to another single IP address. You can use masquerade NAT to hide one or more IP addresses on your internal network behind an IP address that you want to make public. This public address is the address to which the private addresses are translated and has to be a defined interface on your system. To be a defined interface, define the public address as a BORDER address.

 

Hiding multiple addresses

To hide multiple addresses, you specify a range of addresses that NAT should translate through the system. Here is the general process:

  1. The translated IP address replaces the source IP address. This occurs in the IP header of the IP packet.

  2. The IP source port number (if there is one) in a Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) header is replaced with a temporary port number.

  3. An existing conversation is the relationship between the new IP source address and port number.

  4. This existing conversation enables your NAT server to untranslate IP datagrams from the outside system.

When you use masquerade NAT, an internal system initiates traffic. When this happens, NAT translates the IP packet as it passes through the NAT server. Masquerade NAT is a great choice because external hosts cannot initiate traffic into your network. As a result, your network gains additional protection from an outside attack. Also, you only need to purchase a single public IP address for multiple internal users.

The following list highlights the features of masquerade NAT:

If parameters are not set to fit your environment, the address translation might not function as expected. For example, the IP addresses in the packets are not translated or the packets might be discarded. However, it will not cause any hardware or system damage. If you want to adjust the values of the parameters, consider the following items:

 

Parent topic:

Network address translation

Related concepts
IP packet header Scenario: Hiding IP addresses using masquerade NAT