Sorry if this was asked before ( I'm new in the list )
I was playing with the Fast Network Address Translation  (NAT) that came
with the kernel,
but after serveral tryies I only found a way to translate addresses by
source ( but not by destination ).

That is,  if I told the NAT to:

    ip rule add from 192.168.1.10 nat 200.9.9.4
and
    ip route add nat 200.9.9.4 via 200.9.9.1

That behaves OK. The address which are from 192.168.1.10, are translated
to 200.9.9.4 using  200.9.9.1 as a gateway.
But then, the NAT forgets that the 200.9.9.4 is a translated address.
He doesn't answer the ARP's.

Any idea ?
Does the NAT must remember the translated addresses ?
I coudn't find a way to tell the NAT how the translate addresses by
destination.
Does anyone one how to do that ?
Thank you.

Saludos,
    riq.

http://www.pjn.gov.ar/~rquesada



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to