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.
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 create DNAT rules to associate a private IP attached to VM with a NAT IP, and an additional SNAT rule for that NAT IP.
...
- 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 → NATs
- Click the + button on the top right-hand side of the tab
- Enter the details of the NAT rule, which by default will be a DNAT rule
- 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.
- To create an additional SNAT rule for traffic from the private IP to the outside network through the NAT IP, select the SNAT checkbox
- Click Add
- Save the VM
...