Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
printablefalse

Display NAT rules

When the Network Address Translation (NAT) integration is available in your environment, the NAT tab will display the NAT IPs and NAT rules for your virtual datacenters. From here you can manage NAT IPs and within the VM you can manage NAT rules.

Image Modified

The platform also displays the NAT rules that apply to each VM on the VM control panel on the Network tab.

Image Modified

Create a virtual datacenter with NAT

To create a virtual datacenter with NAT, create a virtual datacenter as usual, and the platform will automatically add a NAT IP and create an SNAT rule for all outgoing traffic. Then you can also . The default SNAT IP address is marked with a star. You can change this default to another address by selecting the new address and clicking the star button.

Image Added

For each VM, you can also create DNAT rules to associate a private IP attached to VM with a NAT IP, and an additional SNAT rule for that NAT IPsend incoming traffic from a NAT IP to a private IP on the VM. And you can additional SNAT rules to override the default, sending outgoing traffic through other NAT IPs.

Use a NAT IP for a load balancer

You can use a NAT IP as a public IP address for load balancers, and the balancing. 

Image Added

The platform will automatically create a NAT rule to match the port mappings of the routing rule of the load balancer routing rule port mappings.

Image Added

Obtain an additional NAT IP 

...

You can then use the NAT IP as the public IP address for a load balancer or to provide access to a private IP address.

Create

...

DNAT rules

After To enable VMs outside your VDC to connect to a VM with a private IP address, after you obtain a NAT IP, you can create a destination NAT rule for a private IP address on a VM

To create a NAT rule:

  1. Go to Virtual datacenters → Virtual appliances.
  2. Edit your VM
  3. If your VM does not yet have an IP, go to Network → NICs and add a private IP
  4. Go to Network → NATsDNAT
  5. Click the + button on the top right-hand side of the tab
  6. Enter the details of the NAT rule, which by default will be a DNAT rule
    1. You cannot use the Original port for the NAT IP in more than one NAT rule. The platform will display the ports that are already used in other rules for the selected NAT IP.
    2. To create an additional SNAT rule for traffic from the private IP to the outside network through the NAT IP, select the SNAT checkbox
  7. Click Add
  8. Save the VMClick Add
  9. Save the VM

Image Added

Create SNAT rules

If you need to send traffic through a NAT IP that is not the defaut one, you can add an SNAT rule, on the SNAT tab.

Image Modified

Modify and delete NAT rules

From the NATs tab NAT tabs you can also select a NAT rule to edit or delete it.

Image Modified