Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 11:12:58 +1000
From:      Tony Landells <ahl@austclear.com.au>
To:        klein brock <getzz1@yahoo.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: FIREWALL REALLY NEED HELP 
Message-ID:  <200109190112.LAA29963@tungsten.austclear.com.au>
In-Reply-To: Message from klein brock <getzz1@yahoo.com>  of "Tue, 18 Sep 2001 18:10:00 MST." <20010919011000.72930.qmail@web20110.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

getzz1@yahoo.com said:
> also.. i'm trying to block ip '209.12.*.*'

> ipfw add deny all from 209.12.0.0/24 to any via any

> but it doesn't block any ip from 209.12.* 

Because that's not what you asked for...  Each number in an IP address
is 8 bits, so the rule you want is

ipfw add deny all from 209.12.0.0/16 to any via any

The rule you had only blocks 209.12.0.*

Tony
-- 
Tony Landells					<ahl@austclear.com.au>
Senior Network Engineer				Ph:  +61 3 9677 9319
Australian Clearing Services Pty Ltd		Fax: +61 3 9677 9355
Level 4, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Australia



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?200109190112.LAA29963>