NAT

Hi! had a issue with NAT, maybe i dont undersrtand how works.
22.png
This is the scenario.
What i want is NAT PUBLICIP:40000 to a webserver in 10.0.0.40 on port 80.

Thanks in advance!

Check this: http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT#Destination_NAT

In Mikrotik1, you will also need a static route to 10.0.0.0/24

/ip route add dst=10.0.0.0/24 gateway=50.0.0.2

Then you can just do NAT with a regular pinhole rule:
/ip firewall nat chain=dstnat dst-address=public_ip protocol=tcp dst-port=40000 action=dst-nat to-address=10.0.0.40 to-port=80

In Mikrotik2 - disable all NAT.