Hello!

> I try two definitions :
> 
> ip rule add from XX.XX.XX.XX nat YY.YY.YY.YY table main
> ip route add nat YY.YY.YY.YY via XX.XX.XX.XX table local

It translates all the packets coming from XX.XX.XX.XX,
if you do not want this, add rules sort of:

ip rule add from X1.X1.X1.X1 table main

to prohibit translation on internal network.

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

Reply via email to