IptableRule
{
"action": "string",
"dnat_ip": {
"addr": "string",
"type": "string"
},
"dst_ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"dst_port": {
"end": 0,
"start": 0
},
"input_interface": "string",
"output_interface": "string",
"proto": "string",
"src_ip": {
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
},
"src_port": {
"end": 0,
"start": 0
},
"tag": "string"
}
Enum options - ACCEPT, DROP, REJECT, DNAT, MASQUERADE. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enum options - PROTO_TCP, PROTO_UDP, PROTO_ICMP, PROTO_ALL. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.