In article <[EMAIL PROTECTED]> you wrote:

: 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

      ip route add nat 200.9.9.4 via 192.168.1.10

will be correct, otherwise packets destined to 200.9.9.4 will
be translated to 200.9.9.1, which is apparently not the thing that
you want.

: I coudn't find a way to tell the NAT how the translate addresses by
: destination.

What is "by destination" ? Packet is translated if it matches corresponding
NAT rule or if it is destined to translated address.

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

Reply via email to