Networking_Firewall_Inbound_Rule

Networking_Firewall_Inbound_Rule
Networking_Firewall_Inbound_Rule

Inbound.Rule structure Structure that defines a single address-based firewall rule.

JSON Example
{
    "address": "string",
    "prefix": 0,
    "policy": "string",
    "interface_name": "string"
}
string
address
Required

IPv4 or IPv6 address.

integer As int64
prefix
Required

CIDR prefix used to mask address. For example, an IPv4 prefix of 24 ignores the low-order 8 bits of address.

policy
Required

Inbound.Policy enumerated type Defines firewall rule policies.
IGNORE : Drop packet with correpsonding address.
ACCEPT : Allow packet with corresponding address.
REJECT : Drop packet with corresponding address sending destination is not reachable.
RETURN : Apply default or port-specific rules to packet with corresponding address.

string
interface_name
Optional

The interface to which this rule applies. An empty string indicates that the rule applies to all interfaces.