I've successfully setup a port forwarding on a Mikrotik router that translates every request going to WAN ip address on port 8844 (let's say: 18.104.22.168:8844) of mikrotik to the local ip address and the same port.
As I have a DNS name for the WAN ip address (22.214.171.124), I would like this rule to also work from inner network:
192.168.111.77 -> 126.96.36.199:8844 -> 192.168.111.2:8844
I have found a Mikrotik web page that describes this situation: http://wiki.mikrotik.com/wiki/Hairpin_NAT But I wasn't able to achieve the same.
Here is a printscreen of the rule
It's just a partial printscreen but everything else is not set (blank).
EDIT: the port forwarding rule and the classic masquerade on the router looks like this:
/ip firewall nat add chain=dstnat in-interface=ether1-gateway protocol=tcp dst-port=8844 \ action=dst-nat to-address=192.168.111.2 to-port=8844 add chain=srcnat out-interface=ether1-gateway action=masquerade