IptableRuleSet

IptableRuleSet
IptableRuleSet
JSON Example
{
    "chain": "string",
    "rules": [
        {
            "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"
        }
    ],
    "table": "string"
}
string
chain
Required

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

rules
Optional

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

string
table
Required

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