From owner-freebsd-questions Sat Sep 7 8:54:55 2002 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 511C437B400; Sat, 7 Sep 2002 08:54:50 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0687743E42; Sat, 7 Sep 2002 08:54:50 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g87Fq8Ib047558; Sat, 7 Sep 2002 08:52:08 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g87Fq8D4047557; Sat, 7 Sep 2002 08:52:08 -0700 (PDT) (envelope-from rizzo) Date: Sat, 7 Sep 2002 08:52:08 -0700 From: Luigi Rizzo To: Gene Bomgardner Cc: FreeBSD-questions@FreeBSD.ORG, freeBSD-net@FreeBSD.ORG Subject: Re: ipfw add rule format Message-ID: <20020907085208.A47545@iguana.icir.org> References: <3D79D10C.24961.30386E@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D79D10C.24961.30386E@localhost>; from gene@bomgardner.net on Sat, Sep 07, 2002 at 10:12:28AM -0500 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 On Sat, Sep 07, 2002 at 10:12:28AM -0500, Gene Bomgardner wrote: > Hi. I finally realized that the reason the gateway isn't passing data > is probably because of a missing divert rule in the firewall. I tried : > > ipfw 5000 add divert natd all from any to any via rl0 you are swapping the command and rule number, it should be ipfw add 5000 divert natd all from any to any via rl0 cheers luigi > however, ipfw responds "missing 'to'" > > Any idea where the 'to' belongs? The manpage isn't very helpful in > this case. > > Thanks. > > God's Blessings, > Gene > > To everything there is a season, and a time to every > purpose under heaven. Ecl 3:1 - > and more recently, The Byrds > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message