how to NAT on a DHCP defined interface

Hello,

I would like to build a standard configuration of MT Router as generic hotspot system for deployment to multiple locations.

I wish to make the lan interface DHCP assigned so that i can just ship the device to the destination, then they just plug it into their network and it goes…

but in order to make the wireless segment work, I need to NAT the wireless network to the lan interface address - which i do not know until it is assigned.

How would i add this rule so that it will work with whatever ip address is assigned on the lan interface?

Thanks and regards, Mike Everest.

you can do that using masquarading:

/ip firewall src-nat add action=masquerade out-interface=<outinterface>

Magnificent!

I thought I had tried that before, but couldn’t get it to work. Now I do it again, and this time no problemo! :slight_smile:

Thanks plenty,

regards, Mike.