This class specifies a port range for a firewall rule. It can be used in the src_port
and dst_port
parameters of a rule. For example: src_port=PortRange(2000, 2100)
, or src_port=(PortRange(2000, 2100), PortRange(2500, 2600))
. When listing multiple elements, ports and port ranges can be mixed, for example: src_port=(4433, PortRange(2000, 2100), PortRange(2500, 2600))
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu