InlineNatRule1

InlineNatRule1
InlineNatRule1
JSON Example
{
    "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"
}
string
match_destination_network
Optional

IP Address | CIDR | (null implies Any)

string
translated_network
Optional

IP Address | IP Range | CIDR

integer As int64 As int64
rule_priority
Optional

Ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.

match_service
Optional

match_service

boolean
enabled
Optional

enable/disable the rule

string
logical_router_id
Optional

Logical router id

string
translated_ports
Optional

port number or port range. DNAT only

string
action
Required

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.

Possible values are : SNAT, DNAT, NO_NAT, REFLEXIVE,
boolean
logging
Optional

enable/disable the logging of rule

boolean
nat_pass
Optional

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.

string
match_source_network
Optional

IP Address | CIDR | (null implies Any)

Used By