nsxnatrule
NAT rule
{
"translatedAddress": "string",
"icmpType": "string",
"dnatMatchSourcePort": "string",
"loggingEnabled": false,
"vnic": "string",
"description": "string",
"enabled": false,
"dnatMatchSourceAddress": "string",
"ruleTag": 0,
"protocol": "string",
"snatMatchDestinationPort": "string",
"originalAddress": "string",
"snatMatchDestinationAddress": "string",
"ruleType": "string",
"translatedPort": "string",
"action": "string",
"ruleId": 0,
"originalPort": "string"
}
Translated address or address range.
ICMP type. Only supported when protocol is icmp. Default is 'any'.
Apply DNAT rule only if traffic has this source port. Default is 'any'.
Enable logging for the rule.
Interface on which the NAT rule is applied.
Description for the rule.
Enable rule.
Apply DNAT rule only if traffic has this source address. Default is 'any'.
Rule tag. Used to specify user-defined ruleId. If not specified NSX Manager will generate ruleId.
Protocol. Default is 'any'
Apply SNAT rule only if traffic has this destination port. Default is 'any'.
Original address or address range. This is the original source address for SNAT rules and the original destination address for DNAT rules.
Apply SNAT rule only if traffic has this destination address. Default is 'any'.
Identifies the type of the rule. internal_high or user.
Translated port. Supported in DNAT rules only.
Action for the rule. SNAT or DNAT.
Identifier for the rule.
Original port. This is the original source port for SNAT rules, and the original destination port for DNAT rules.