RawPortProtocolLayer4Item

RawPortProtocolLayer4Item
RawPortProtocolLayer4Item

Defines a TCP or UDP protocol raw port-protocol entry.

JSON Example
{
    "protocol": "string",
    "sourcePorts": [
        "8080",
        "8090-8095"
    ],
    "destinationPorts": [
        "20",
        "21",
        "139-445"
    ]
}
string
protocol
Required

The type of layer 4 protocol. Supported types are:

  • TCP
  • UDP
array of string
sourcePorts
Optional

A list of source ports, where each item in the list is either a single port or a range of ports. The list has a maximum item limit of 15 where ranges count as two. An empty list indicates the firewall rule will match any port.

array of string
destinationPorts
Optional

A list of destination ports, where each item in the list is either a single port or a range of ports. The list has a maximum item limit of 15 where ranges count as two. An empty list indicates the firewall rule will match any port.

Availability
Added in 38.1
Property Of