Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 16:19:31 +0100
From:      zk <>
Subject:   Re: ipfw forward command?
Message-ID:  <20031223151931.GC274@hhos.serious.ld>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Dec 23, 2003 at 02:55:10AM -0800, 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 ideas?

You can use ipfw divert with natd and put it before ipfw fwd.


Want to link to this message? Use this URL: <>