Sorry for disturbing again :)
after recompiling the kernel, NAT is now working - in one way.
The first command is now accepted and I can ping the internal computer from
outside.
ip route add nat 192.203.80.144 via 193.233.7.83
ip rule add prio 320 from 193.233.7.83 nat 192.203.80.144
But the 2nd command is allways denied with the comment: Invalid argument.
What's wrong with it? I have this example from the of Alexeys ip-cref page.
And there is written:
This rule says that source address 193.233.7.83 should be translated to
192.203.80.144 before forwarding. It is important that address standing
after keyword nat was some NAT address, declared by ip route add nat. If it
is just a random address the router will not map to it.
I only have changed the ip addresses to my ranges.
does anybode have any ideas?
Thomas
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]