> gateway> fwd
>
> can this line emulate a random router ? the man said than "fwd"ed packet
are
> unmodified.
> is it the case when the packed is routed ?
>
have tried it, but i think it will not work with http session
so i ve tried that :
=> catch every http going out and change ip src with 192.168.0.101 (natd
alias)
ipfw add 2098 divert 3615 tcp from any to any 80 out via tun0
=> catch everything going out from 192.168.0.101 and fwd to the second
gateway (0.254)
ipfw add 2099 fwd 192.168.0.254 tcp from 192.168.0.101 to any 80 out via
tun0
the packet is well translated and moved to the interface of second gateway
but it is not functionning :(