addRange

fun addRange(start: String, end: String, type: IPVersion = definedExternally)(source)

Adds a rule to block a range of IP addresses from start (inclusive) toend (inclusive).

Since

v15.0.0, v14.18.0

Parameters

start

The starting IPv4 or IPv6 address in the range.

end

The ending IPv4 or IPv6 address in the range.

type='ipv4' Either 'ipv4' or 'ipv6'.