Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Latest commit

 

History

History
50 lines (39 loc) · 2.13 KB

FirewallRule.md

File metadata and controls

50 lines (39 loc) · 2.13 KB

FirewallRule

Properties

Name Type Description Notes
direction DirectionEnum The direction of network traffic this rule will be applied to.
action ActionEnum Action to take if the rule conditions are met.
position BigDecimal Add the firewall rule to this position in the server's firewall list. [optional]
family AddressFamily if protocol is set The address family of new firewall rule
protocol ProtocolEnum The protocol this rule will be applied to. [optional]
icmpType String The ICMP type. [optional]
destinationAddressStart String The destination address range starts from this address. [optional]
destinationAddressEnd String The destination address range ends to this address. [optional]
destinationPortStart BigDecimal The destination port range starts from this port number. [optional]
destinationPortEnd BigDecimal The destination port range ends to this port number. [optional]
sourceAddressStart String The source address range starts from this address. [optional]
sourceAddressEnd String The source address range ends to this address. [optional]
sourcePortStart BigDecimal The source port range starts from this port number. [optional]
sourcePortEnd BigDecimal The source port range ends to this port number. [optional]
comment String Freeform comment string for the rule. [optional]

Enum: DirectionEnum

Name Value
IN "in"
OUT "out"

Enum: ActionEnum

Name Value
ACCEPT "accept"
REJECT "reject"
DROP "drop"

Enum: ProtocolEnum

Name Value
TCP "tcp"
UDP "udp"
ICMP "icmp"