Jim M wrote:
> I know I can block an outgoing IP address such as
>
> block out quick on $external from any to 123.123.123.123
>
> But can you also block a range of IP addresses?  Such as
>
> block out quick on $external from any to 123.123.100.0-123.123.200.255

Yes, but one writes this in CIDR style, thus for your example:

block out quick on $external from any to 123.123.100.0/24
block out quick on $external from any to 123.123.200.0/24

A /23 would be 100 - 254, see 'sipcalc' or other such tools for
calculations. Also see Wikipedia's CIDR entry for more details.

Greets,
 Jeroen

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to