addSubnet
Adds a rule to block a range of IP addresses specified as a subnet mask.
Since
v15.0.0, v14.18.0
Parameters
net
The network IPv4 or IPv6 address.
prefix
The number of CIDR prefix bits. For IPv4, this must be a value between 0
and 32
. For IPv6, this must be between 0
and 128
.
type='ipv4' Either 'ipv4'
or 'ipv6'
.