Skip to contentSkip to conversation

Problems with NAT

DISCUSSION Marian Jancar 1 participant 1 message Dec 13, 2000

lore
Share & tools
lore
#0 lore raw

There is a problem with nat in at least 2.2.16 and 2.2.18. If you specify routing first and nat second,

ip route add nat x.x.x.x via y.y.y.y
ip rule add from y.y.y.y nat x.x.x.x

the rule doesnt have an effect, ping to x.x.x.x says it got response from y.y.y.y. With turned order of commands,

ip rule ...
ip route ...

it works.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/