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] |
Name | Value |
---|---|
IN | "in" |
OUT | "out" |
Name | Value |
---|---|
ACCEPT | "accept" |
REJECT | "reject" |
DROP | "drop" |
Name | Value |
---|---|
TCP | "tcp" |
UDP | "udp" |
ICMP | "icmp" |