Date: Mon, 31 Mar 2003 11:52:25 +0200 From: "Simon L. Nielsen" <simon@nitro.dk> To: "Ilia E. Chipitsine" <ilia@cgu.chel.su> Cc: questions@FreeBSD.ORG Subject: Re: how to aggregate rules using ipfw2 ? Message-ID: <20030331095224.GB87902@nitro.dk> In-Reply-To: <20030330201632.R65324-100000@mail.cgu.chel.su> References: <20030330201632.R65324-100000@mail.cgu.chel.su>
next in thread | previous in thread | raw e-mail | index | archive | help
--neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.03.30 20:18:53 +0600, Ilia E. Chipitsine wrote: > how can I aggregate rules ... >=20 > ipfw add allow ip from any to 192.168.0.0/16 > ipfw add allow ip from any to 10.0.0.0/8 >=20 > ... into the single rule, probably using { .. or .. } syntax? > I read man page, tried few combination, but them don't work for me. ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 } should do the trick. --=20 Simon L. Nielsen --neYutvxvOLaeuPCA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+iA/X8kocFXgPTRwRAp3cAJ0Yu5dFjz2Ci7OC5/28rib1m/SRhACfT3c5 2qvzfHGoMNPt3GpN1SuVoPI= =N9R1 -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331095224.GB87902>