Skip to main content

Create_Firewall_Rule_Payload

directionstringrequired

The direction of traffic that the firewall rule applies to.

ethertypestringrequired

The Ethernet type associated with the rule.

protocolstringrequired

The network protocol associated with the rule. Call the List firewall rule protocols endpoint to retrieve a list of permitted network protocols.

Possible values: [any, ah, dccp, egp, esp, gre, hopopt, icmp, igmp, ip, ipip, ipv6-encap, ipv6-frag, ipv6-icmp, icmpv6, ipv6-nonxt, ipv6-opts, ipv6-route, ospf, pgm, rsvp, sctp, tcp, udp, udplite, vrrp]

Example: any
remote_ip_prefixstringrequired

The IP address range that is allowed to access the specified port. Use "0.0.0.0/0" to allow any IP address.

port_range_mininteger

The minimum port number in the range of ports to be allowed by the firewall rule.

port_range_maxinteger

The maximum port number in the range of ports to be allowed by the firewall rule.

Create_Firewall_Rule_Payload
{
"direction": "string",
"ethertype": "string",
"protocol": "any",
"remote_ip_prefix": "string",
"port_range_min": 0,
"port_range_max": 0
}