InlineNatRule1
{
"match_destination_network": "string",
"translated_network": "string",
"rule_priority": 0,
"match_service": {
"resource_type": "string"
},
"enabled": false,
"logical_router_id": "string",
"translated_ports": "string",
"action": "string",
"logging": false,
"nat_pass": false,
"match_source_network": "string"
}
IP Address | CIDR | (null implies Any)
IP Address | IP Range | CIDR
Ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
enable/disable the rule
Logical router id
port number or port range. DNAT only
valid actions: SNAT, DNAT, NO_NAT, REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, can NOT be supported when the logical router is running at active-active HA mode; REFLEXIVE is stateless. NO_NAT has no translated_fields, only match fields.
enable/disable the logging of rule
Default is true. If the nat_pass is set to true, the following firewall stage will be skipped. Please note, if action is NO_NAT, then nat_pass must be set to true or omitted.
IP Address | CIDR | (null implies Any)