From owner-freebsd-questions@FreeBSD.ORG Mon May 21 13:50:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96F671065670 for ; Mon, 21 May 2012 13:50:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C06518FC0C for ; Mon, 21 May 2012 13:50:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q4LDo5cs036466; Mon, 21 May 2012 23:50:05 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 21 May 2012 23:50:04 +1000 (EST) From: Ian Smith To: Paul Macdonald In-Reply-To: <20120521120027.716761065686@hub.freebsd.org> Message-ID: <20120521232412.B98171@sola.nimnet.asn.au> References: <20120521120027.716761065686@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: ipfw subnetting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2012 13:50:22 -0000 In freebsd-questions Digest, Vol 416, Issue 1, Message: 26 On Mon, 21 May 2012 10:06:12 +0100 Paul Macdonald wrote: > can anyone suggest what i'm doing wrong here. > > Desired: drop everything from 180.0.0.0 to 180.255.255.255 > > ipfw -q add 137 deny all from 180.0.0.0/8 to any t23# ipfw -q add 137 deny all from 180.0.0.0/8 to any t23# ipfw show 137 00137 0 0 deny ip from 180.0.0.0/8 to any So what doesn't work? (apart from scattergun removal of small pieces of a whole lot of Asian countries, incl. Japan, Indonesia, Australia, .. :) cheers, Ian