From owner-freebsd-ipfw@FreeBSD.ORG Mon Apr 21 09:17:31 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E497E37B401 for ; Mon, 21 Apr 2003 09:17:31 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BB3D43FDF for ; Mon, 21 Apr 2003 09:17:31 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id D3D1410BF94; Mon, 21 Apr 2003 18:17:29 +0200 (CEST) Date: Mon, 21 Apr 2003 18:17:29 +0200 From: "Simon L. Nielsen" To: vlad Message-ID: <20030421161728.GB1230@nitro.dk> References: <7354444376.20030421230303@sas.nsk.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <7354444376.20030421230303@sas.nsk.su> User-Agent: Mutt/1.5.4i cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw in freebsd 4.7 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 16:17:32 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2003.04.21 23:03:03 +0700, vlad wrote: > I have FreeBSD 4.7 installed. > I need to add this rule into firewall: > ipfw add divert 10000 ip from {not a.b.c.d/nn or not e.f.g.h/yy} to > i.j.k.l/zz via ed0 Are you sure that using ipfw2? See the manpage for information about ipfw2 on FreeBSD 4. Other than that you should also add spaces before/after the brackets. E.g. : { not a.b.c.d/nn or not e.f.g.h/yy } --=20 Simon L. Nielsen --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+pBmY8kocFXgPTRwRApWvAKDQ02xOmDs7u8/jdRRMpBolKUbaIACfS/U+ P1HEXP72Cn4WK9OzQWj2TuM= =6Sep -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--