Sun May 14, 2006 10:50 am
On 2.9.23 I have made many attempts to make nat with action=same work without adding the many external adresses. Here are my results:
address, internal interface: 192.168.10.1/24
address, external interface: 10.76.20.10/24
src-nat:
chain=srcnat out-interface=Uplink src-address=192.168.10.0/24 action=same to-addresses=10.76.20.10-10.76.20.20 to-ports=0-65535 same-not-by-dst=yes
THIS DOES NOT WORK
- however, if you add the 9 extra adresses (10.76.20.11 to 10.76.20.20) either as /24 or as /32 (I'm not sure what's correct), the setup works immediately.
This may not be a real problem, as adding many adresses can be done with a simple script, BUT when trying, disaster strikes: Adding 1000 /32 or /24 addresses to an interface results in lockup of all interfaces. Only way in is the serial interface.
So, please help me correct this setup - or let us agree, that we found another bug, that MT will fix in due time.
Thanks in advance !