From owner-freebsd-questions Fri Aug 16 16:17:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15E8537B400 for ; Fri, 16 Aug 2002 16:17:12 -0700 (PDT) Received: from hermod.asgardnet.org (user168.net314.fl.sprint-hsd.net [207.30.169.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 148B843E4A for ; Fri, 16 Aug 2002 16:17:06 -0700 (PDT) (envelope-from geminidomino@earthlink.net) Received: from thorr.asgardnet.org (thorr.asgardnet.org [192.168.0.1]) by hermod.asgardnet.org (8.12.3/8.12.3) with SMTP id g7GNH1f0079980; Fri, 16 Aug 2002 23:17:02 GMT (envelope-from geminidomino@earthlink.net) Date: Fri, 16 Aug 2002 19:17:06 -0400 From: Ciro Maeitta To: Roger Williams Cc: questions@freebsd.org Subject: Re: ipfw blocking entire block Message-Id: <20020816191706.28185881.geminidomino@earthlink.net> In-Reply-To: <20020817073528.J11214-100000@edo.naviservers.net> References: <20020817073528.J11214-100000@edo.naviservers.net> Organization: Asgardnet.org X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 17 Aug 2002 07:36:41 +0900 (JST) Roger Williams wrote: > Hello, > Does anyone know how to block an entire block of ips using ipfw? > > Thanks, > Roger > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ipfw deny all from 1.2.3.0/24 to any ipfw deny all from any to 1.2.3.0/24 to any for a class C. That should work. -C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message