IptableRule

IptableRule
IptableRule
JSON Example
{
    "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"
}
string
action
Required

Enum options - ACCEPT, DROP, REJECT, DNAT, MASQUERADE. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

dnat_ip
Optional

dnat_ip

dst_ip
Optional

dst_ip

dst_port
Optional

dst_port

string
input_interface
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
output_interface
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
proto
Optional

Enum options - PROTO_TCP, PROTO_UDP, PROTO_ICMP, PROTO_ALL. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

src_ip
Optional

src_ip

src_port
Optional

src_port

string
tag
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

Property Of