You can configure certain vApp networks to provide an IP translation by adding a NAT mapping rule.
When you create an IP translation rule for a network, vCloud Director adds a DNAT and SNAT rule to the edge gateway associated with the network's port group. The DNAT rule translates an external IP address to an internal IP address for inbound traffic. The SNAT rule translates an internal IP address to an external IP address for outbound traffic.
- Verify that the vApp network is routed.
- Verify that the firewall on the vApp network is enabled. If you disable the firewall, the NAT mapping rules are no longer applied to the vApp network.
- On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
- Click to view the vApps in a card view.
- In the card of the selected vApp, click Details.
- On the Networks tab, click a network to view the network details.
- Click Services and click Edit.
- To enable NAT, toggle on the NAT option.
- From the NAT Type drop-down menu, select IP Translation and click Add.
- Select a virtual machine interface and click Keep.
- Select a mapping mode.
- If you selected Manual mapping mode, enter an external IP address.
- Click Save.
What to do next
If necessary, rearrange the IP translation rules by using the Move Up or Move Down buttons.