ipfw forward command?

hugle hugle at vkt.lt
Tue Dec 23 22:39:16 PST 2003


NR> 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

NR> 	Any specific reason why you are using ipfw fwd instead of ipf 
NR> 	forwarding?


Actualy didn't find ipf's forward rule. Could you plz give me an
example? I only found redirect in ipant, but it is not what i'm ooking
for.
Thx, hugle





More information about the freebsd-ipfw mailing list