Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 4.7

Skip to end of metadata
Go to start of metadata

Display NAT rules

When the Network Address Translation (NAT) integration is available in your environment, to display NAT IPs and NAT rules:
  1. Go to Virtual datacenters → select virtual datacenter → Network → NAT

To display NAT rules for a VM:

  1. Go to Virtual datacenters → select VM → go to VM control panel → select NAT

To manage NAT rules for a VM:

  1. Go to Virtual datacenters → edit VM → Networks → NAT

Create a virtual datacenter with NAT

When you create a virtual datacenter with NAT, you can select the NAT network and the IP address for the default SNAT rule. See Create a virtual datacenter

Obtain an additional NAT IP for your virtual datacenter

In 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:

  1. Go to Virtual datacenters Network → NAT
  2. Click the + Add button on the top right-hand side of the screen
  3. Select the NAT network and click Accept

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.

Create a DNAT rule

To 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:

  1. Go to Virtual datacenters → Virtual appliances → edit VM
  2. If your VM does not yet have an IP, go to Network → NICs and add a private IP
  3. Go to Network → DNAT
  4. Click the + button on the top right-hand side of the tab
  5. Enter the details of the DNAT rule

    FieldDescription
    Original (NAT IP)Select the IP address for external connections
    ProtocolSelect the protocol for the connection, which can include TCP, UDP, any, ICMP
    Translated (private IP)Select the private IP that is attached to the VM
    Use all portsMark this checkbox to create a NAT rule for all ports
    Original portEnter the port for external connections. 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.
    Translated portEnter the port on the VM

  6. Click Add
  7. Save the VM

Create an SNAT rule

To 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:

  1. Go to Virtual datacenters → Virtual appliances → edit VM
  2. If your VM does not yet have an IP, go to NetworkNICs and add a private IP
  3. Go to Network → SNAT
  4. Click the + button on the top right-hand side of the tab
  5. Enter the addresses of the SNAT rule

    FieldDescription
    Original (private IP)Select the private IP that is attached to the VM
    Translated (NAT IP)

    Select the IP address for outgoing connections

  6. Click Add
  7. Save the VM

Use a NAT IP for a load balancer

You can use a NAT IP address as a public IP address for a load balancer.

This can be the virtual datacenter's NAT IP address or an additional NAT IP address. See Obtain an additional NAT IP address for a virtual datacenter

When you create the load balancer, select the NAT IP.

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


  • No labels