NetworkingFirewallInboundRule

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


Properties

string
address Required

IPv4 or IPv6 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.

Possible values are: IGNOREACCEPTREJECTRETURN


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.


string
interface_name Optional

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

JSON Example

{
    "address": "string",
    "policy": "IGNORE",
    "prefix": 0
}

Feedback

Was this page helpful?