MaddRange
Bun

method

net.BlockList.addRange

start: string,
end: string,
type?: IPVersion
): void;

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

@param start

The starting IPv4 or IPv6 address in the range.

@param end

The ending IPv4 or IPv6 address in the range.

@param type

Either 'ipv4' or 'ipv6'.

): void;

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

@param start

The starting IPv4 or IPv6 address in the range.

@param end

The ending IPv4 or IPv6 address in the range.