5.5

Table Of Contents
d Select a VM interface.
e Click OK.
7 Click OK.
8 Click Apply.
Add an IP Translation Rule to a vApp Network
You can configure certain vApp networks to provide 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. If the network is also using IP masquerade, the SNAT rule takes precedence.
Prerequisites
Verify that you have a routed vApp network.
Procedure
1 Click the My Cloud tab and click vApps in the left pane.
2 Right-click a vApp and select Open.
3 Click the Networking tab and select Show networking details.
4 Right-click the vApp network and select Configure Services.
5 Click the NAT tab, select IP Translation, and click Add.
6 Select a virtual machine interface and mapping mode and click OK.
For Manual mapping mode, type an external IP address.
7 If you select manual mapping mode, type an external IP address.
8 Click OK.
9 Click Apply.
Reorder Port Forwarding Rules for a vApp Network
Port forwarding rules are enforced in the order in which they appear in the NAT mapping list. You can
change the order of the rules in the list.
When you add a new port forwarding rule to a vApp network, it appears at the bottom of the NAT
mapping rule list. To enforce the new rule before an existing rule, reorder the rules.
Prerequisites
A routed vApp network with two or more port forwarding rules.
Procedure
1 Click the My Cloud tab and click vApps in the left pane.
2 Right-click a vApp and select Open.
3 On the Networking tab, select Show networking details and click Details.
4 On the NAT tab, click and drag the rules to establish the order in which the rules are applied and click
OK.
5 Click Apply.
vCloud Director User's Guide
78 VMware, Inc.