Configuring Network Address Translation

An NSX ESG also provides Network Address Translation (NAT) capability to allow mapping of a public IP address to devices that are on private IP addresses space or have overlapping IP addresses.

The ESG provides the ability to configure two types of NAT, which are as follows:

  • Source NAT (SNAT): This is the most common type of NAT and is used to change the source address of the packet passing through
  • Destination NAT (DNAT): Used to change the destination IP address of the packet passing through; it is generally used to change from a public IP address to private RFC 1918 address on the internal network

In this recipe, we will configure both SNAT and DNAT for our Windows VM. The configuration of each ...

Get VMware NSX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.