Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 1998 12:55:30 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Briang <brian@briang.org>
Cc:        FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: IPFW
Message-ID:  <Pine.BSF.3.96.981215125148.20276N-100000@java.dpcsys.com>
In-Reply-To: <000501be27ef$331a9640$2900a8c0@brian-desktop.briang.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Dec 1998, Briang wrote:
> If I wanted to block a set if IP's can I do this ?
> 
> $fwcmd add deny log tcp from 209.19.0.0/16 to any in via fxp0 
> 
> I'm trying to block everthing from ->
> 209.19.1.0/24  to  209.19.34.0/24 

209.19.0.0/19 would block 209.19.0.0 - 209.19.31.0
add 209.19.32.0/24 33.0/24 and 34.0/24 

Keeps you from blocking 55000 IPs outside of the 9000 or so you
want to block

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981215125148.20276N-100000>