Re: IPFW blocking ip ranges

From: Paul Procacci <pprocacci_at_gmail.com>
Date: Fri, 07 Jun 2024 17:54:29 UTC
On Fri, Jun 7, 2024 at 1:53 PM Paul Procacci <pprocacci@gmail.com> wrote:

>
>
> On Fri, Jun 7, 2024 at 1:41 PM Jos Chrispijn <josc@cloudzeeland.nl> wrote:
>
>> Can you tell me how to block in ipfw a certain ip range in one line, like
>> 1.184.192.0 - 1.184.255.255
>> Thanks.
>>
>
> ipfw add <rulenum> deny all from 1.184.0.0/18 to any
>
> Replace <rulenum> accordingly.
>
>
> ~Paul
>
> --
> __________________
>
> :(){ :|:& };:
>

Ack!!!  abort abort!

ipfw add <rulenum> deny all from 1.184.192.0/18 <http://1.184.0.0/18> to
any

There ya go.

~Paul
-- 
__________________

:(){ :|:& };: