From owner-freebsd-questions Thu May 9 13:22:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from postoffice.igalaxy.net (hal.igalaxy.net [64.160.104.142]) by hub.freebsd.org (Postfix) with ESMTP id 1C88337B406 for ; Thu, 9 May 2002 13:22:32 -0700 (PDT) Received: from mikeyg [64.160.106.4] by postoffice.igalaxy.net (SMTPD32-7.06) id AB1D2D61013C; Thu, 09 May 2002 13:25:01 -0700 Message-ID: <045501c1f797$3b25cd20$0301a8c0@mikeyg> Reply-To: "Mike Grissom" From: "Mike Grissom" To: References: <001e01c1f79e$78612390$626a003e@homepc> Subject: Re: IPFW and IP/mask mathematics Date: Thu, 9 May 2002 13:22:23 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 What exactly are you trying to accomplish? ----- Original Message ----- From: "Naughty Taz" To: Cc: Sent: Thursday, May 09, 2002 2:14 PM Subject: IPFW and IP/mask mathematics > Hi all, > > I've been trying to get a ruleset for IPFW but was unable to figure out > how to do it :( > I'd appreciate it if someone can reply with the right ruleset for the > following: > > 1) allow traffic from 0.0.0.0 - XXX.128.0.0 > 2) block traffic from XXX.128.0.0 - XXX.146.159.255 > 3) allow traffic from XXX.146.160.0 - 255.255.255.255 > > Thanks in advance. > > /Taz > > P.S.: IP's are imaginary of course. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message