Table of Contents | ||
---|---|---|
|
Info |
---|
This page describes how to create NAT rules for virtual datacenters. For details of how to configure NAT networks in infrastructure, see Manage NAT |
Excerpt |
---|
Display NAT rulesWhen the Network Address Translation (NAT) integration is available in your environment, to display NAT IPs and NAT rules:
|
...
To display NAT rules for a VM:
|
...
To manage or display NAT rules for a VM:
Create a NAT rule for DNATTo enable VMs outside your VDC to connect to a VM with a private IP address, after you obtain a NAT IP, create a destination NAT rule, which is also called a DNAT rule. To create a DNAT rule:
|
...
Create a NAT rule for SNATTo send outgoing traffic through a NAT IP that is not the default one, add an additional SNAT rule with these steps: To create an SNAT rule:
|
...
Use a NAT IP for a load balancerTo use a NAT IP address as a public IP address for a load balancer:
|
...
The platform will automatically create a NAT rule to match the port mappings of the routing rule of the load balancer. Obtain an additional NAT IP for your virtual datacenterIn addition to the NAT IP address assigned to the virtual datacenter, you can obtain NAT IP addresses for creating additional NAT rules. To obtain an additional NAT IP address:
The platform will reserve an IP address and allocate it to your virtual datacenter. |
...
You can then use the NAT IP address as the public IP address for a load balancer or to provide access to a private IP address. Limit NAT IP bandwidth for a VDCYou can use Quality of Service (QoS) traffic shaping parameters to limit the bandwidth for all the NSX NAT IPs in a virtual datacenter.
When you create a virtual datacenter, the new "natbandwidthlimit" attribute is present but you must edit the virtual datacenter to enable it in the platform and in the NSX. |
...
To edit the bandwidth limit and apply it in the NSX:
|
...
To register changes that were made outside the platform, save existing NAT bandwidth values. In the API, to register changes, send a POST request with the existing values. |