Date: Tue, 23 Dec 2003 22:15:25 -0800 From: hugle <hugle@vkt.lt> To: zk <zk@wspim.edu.pl>, freebsd-ipfw@freebsd.org Subject: Re[2]: ipfw forward command? Message-ID: <155304934432.20031223221525@vkt.lt> In-Reply-To: <20031223151931.GC274@hhos.serious.ld> References: <19235318750.20031223025510@vkt.lt> <20031223151931.GC274@hhos.serious.ld>
next in thread | previous in thread | raw e-mail | index | archive | help
z> 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? z> You can use ipfw divert with natd and put it before ipfw fwd. I'd like to, but: I need working oidentd daemon, and this daemon doesn't work with natd. So I'm using ipnat. any ideas? Hugle z> zk z> _______________________________________________ z> freebsd-ipfw@freebsd.org mailing list z> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw z> To unsubscribe, send any mail to z> "freebsd-ipfw-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?155304934432.20031223221525>