From owner-freebsd-questions@FreeBSD.ORG Sun Mar 30 08:22:42 2003 Return-Path: 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 EB4A937B401 for ; Sun, 30 Mar 2003 08:22:42 -0800 (PST) Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 677C043FBD for ; Sun, 30 Mar 2003 08:22:41 -0800 (PST) (envelope-from markie@notwentytwo.freeserve.co.uk) Received: from modem-3486.giraffe.dialup.pol.co.uk ([81.78.93.158] helo=mrblossom) by cmailm2.svr.pol.co.uk with smtp (Exim 4.14) id 18zfZu-0007Dm-Ja; Sun, 30 Mar 2003 17:22:39 +0100 Message-ID: <001301c2f6d8$fbe36db0$f300a8c0@mrblossom> From: "Markie" To: "Ilia E. Chipitsine" References: <20030330201632.R65324-100000@mail.cgu.chel.su> Date: Sun, 30 Mar 2003 17:25:29 +0100 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 cc: freebsd-questions@freebsd.org Subject: Re: how to aggregate rules using ipfw2 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 16:22:46 -0000 Hi! I remember having difficulty getting this to work when I first got IPFW2, turns out it wouldn't accept it because there _has_ to be a space between the { and }. For example... ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 } not ipfw add allow ip from any to {192.168.0.0/16 or 10.0.0.0/8} Markie ----- Original Message ----- From: "Ilia E. Chipitsine" To: Cc: Sent: Sunday, March 30, 2003 3:18 PM Subject: how to aggregate rules using ipfw2 ? > Dear Sirs, > > how can I aggregate rules ... > > ipfw add allow ip from any to 192.168.0.0/16 > ipfw add allow ip from any to 10.0.0.0/8 > > ... into the single rule, probably using { .. or .. } syntax? > I read man page, tried few combination, but them don't work for me. > > Cheers, > Ilia Chipitsine > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >