Table of Contents | ||
---|---|---|
|
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.
The platform also displays the NAT rules that apply to each VM on the VM control panel on the Network tab.
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. 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.
...
- Go to Virtual datacenters → Virtual appliances.
- Edit your VM
- If your VM does not yet have an IP, go to Network → NICs and add a private IP
- Go to Network → DNAT
- Click the + button on the top right-hand side of the tab
Enter the details of the DNAT rule
Field Description Original (NAT IP) Select the IP address for external connections Protocol Select 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 ports Mark this checkbox to create a NAT rule for all ports Original port Enter 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 port Enter the port on the VM - Click Add
- Save the VM
Create SNAT rules
If you need to To send outgoing traffic through a NAT IP that is not the defaut default one, you can add an additional SNAT rule , on the SNAT tab.
Modify and delete NAT rules
From the NAT tabs you can also select a NAT rule to edit or delete it.
...