From owner-freebsd-ipfw@FreeBSD.ORG Tue Dec 23 14:30:17 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 4034316A4CE for ; Tue, 23 Dec 2003 14:30:17 -0800 (PST) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A15343D39 for ; Tue, 23 Dec 2003 14:30:15 -0800 (PST) (envelope-from nick@rogness.net) Received: from skywalker.rogness.net (localhost.localdomain [127.0.0.1]) by skywalker.rogness.net (8.12.8/8.12.5) with ESMTP id hBNMWUPb010891; Tue, 23 Dec 2003 15:32:30 -0700 (envelope-from nick@rogness.net) Received: from localhost (nick@localhost)hBNMWU5N010887; Tue, 23 Dec 2003 15:32:30 -0700 X-Authentication-Warning: skywalker.rogness.net: nick owned process doing -bs Date: Tue, 23 Dec 2003 15:32:29 -0700 (MST) From: Nick Rogness To: hugle In-Reply-To: <19235318750.20031223025510@vkt.lt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw forward command? 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: Tue, 23 Dec 2003 22:30:17 -0000 On Tue, 23 Dec 2003, hugle wrote: > Hello. > As I understoon, ipfw's forward command goes before ipnat > How i can make it go in some other direction (ipnat then ipfw fwd)? > cause firstly I'd like to NAT packets and then forward them to needed > gateway. But since forward happens before NAT this can't be done, and > packets don't get forwarded to needed gw > default gw x.x.x.161 ip x.x.x.162 > second gw x.x.x.141 ip x.x.x.142 > third gw y.y.y.1 ip y.y.y.59 Any specific reason why you are using ipfw fwd instead of ipf forwarding? -- Nick Rogness - How many people here have telekenetic powers? Raise my hand. -Emo Philips