From owner-freebsd-questions Tue Feb 22 20:17: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id E453437B894 for ; Tue, 22 Feb 2000 20:16:47 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA10018; Tue, 22 Feb 2000 23:21:58 -0500 (EST) (envelope-from cjc) Date: Tue, 22 Feb 2000 23:21:58 -0500 From: "Crist J. Clark" To: Raul Zighelboim Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port routing / ipfw question Message-ID: <20000222232157.A9788@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mango@zighelboim.com on Tue, Feb 22, 2000 at 08:06:01AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 22, 2000 at 08:06:01AM -0600, Raul Zighelboim wrote: > > Hello there; > Is there a way to accomplish the following : > > --- > ipfw add 'route 10.0.0.2' all from any to any 80 > ipfw add 'route 10.0.0.1' all from any to any > --- > > I tried using the 'fwd' option... but I think fwd changed the packet. No, that's just it, 'fwd' _doesn't_ change the packet. If you are really using 10.0.0.0 addresses, you are likely using natd(8). See the '-redirect_port' and '-redirect_address' options. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message