You can configure source and destination NAT on a tier-0 logical router that is running in active-standby mode.
You can also disable SNAT or DNAT for an IP address or a range of addresses. If multiple NAT rules apply to an address, the rule with the highest priority is applied.
SNAT configured on a tier-0 logical router's uplink will process traffic from a tier-1 logical router as well as from another uplink on the tier-0 logical router.
Procedure
- With admin privileges, log in to NSX Manager.
- Select .
- Click a tier-0 logical router.
- Select .
- Click ADD to add a NAT rule.
- Specify a priority value.
A lower value means a higher priority.
- For Action, select SNAT, DNAT, Reflexive, NO_SNAT, or NO_DNAT.
- Select the protocol type.
By default,
Any Protocol is selected.
- (Required) For Source IP, specify an IP address or an IP address range in CIDR format.
If you leave this field blank, this NAT rule applies to all sources outside of the local subnet.
- For Destination IP, specify an IP address or an IP address range in CIDR format.
- For Translated IP, specify an IP address or an IP address range in CIDR format.
- (Optional) If Action is DNAT, for Translated Ports, specify the translated ports.
- (Optional) For Applied To, select a router port.
- (Optional) Set the status of the rule.
The rule is enabled by default.
- (Optional) Change the logging status.
Logging is disabled by default.
- (Optional) Change the firewall bypass setting.
The setting is enabled by default.