Port forwarding & Hotspot

Ok, here is a simple diagram of the network in question

             |------->Access Point 1 (192.168.0.2)
             |
DSL--->Mikrotik---->Access Point 2 (192.168.0.3)

The Mikrotik box on Ether1 has a real IP address (for example we will say 1.2.3.4) that is accessible anywhere over the Internet. On Ether2 it has an address of 192.168.0.1 and 10.5.50.1 (for Hotspot).

The only other catch to this setup is the hotspot. It of course wants to assign these 192.168.0.x devices addresses of 10.5.50.x so we have setup static mappings so 192.168.0.2->10.5.50.2 and the .3 is the same.

What we are trying to setup is that access to http://1.2.3.4:8000/ gets forwarded to the access point http://192.168.0.2:80/ and http://1.2.3.4:8001/ gets forwarded to the access point http://192.168.0.3:80/. I tried dstnat but I suspect I am configuring something incorrectly. If anybody can provide examples of the commands to accomplish this that would be great. I also tried setting up dstnat rules that redirect to the 10.5.50.2 address, but these did not work either.

This will of course allow us to remotely adminster the access points that sit on the hotspot network, which is mandatory for us.

Thanks!

lweidig,
Here will be DST-NAT rule, that will perform NAT from public to local side,
‘ip firewall nat add chain=dstnat action=dst-nat dst-address=remote_address dst-port=remote_port protocol=tcp to-addresses=local_address to-ports=local_port’.[/b]

Thank you, that worked just great!

I think I have the same problem, am trying to access my router out of my network without success . Port forwarding is enabled but the issue is the same . I am using Public IP which you can ping from different network.

I am still stuck on how ether2 has two IP addresses???