Tue Mar 11, 2008 3:09 pm
I feel unsure about the action tho. Somehow I feel that should be "masquerade" and not "src-nat". The docs say src-nat. My brain says masquerade.
EDIT: I just did a check. I use version 2.9.46, and it has a challenge with dns if you change any IP addresses after setting up the dns. I had to reset my MT box and start over.
This works if all is entered in the correct order:
/ip firewall nat
add chain=srcnat action=src-nat to-addresses=xxx.xxx.xxx.xxx src-address=192.168.0.0/24
It must be done in this order on my box:
1 - All IP addresses for all interfaces
2 - gateway
3 - dns
4 - dhcp
5 - nat
To check for valid dns, try pinging a domain name:
/ping email.prolectron.net
If dns is corrupted, you will get a message like "invalid argument".