Is it possible to make Mikrotik loop back?

I’m sorry I’m probably not using the right terminology and not giving enough information. This is not because I’m lazy, but due to the lack of knowledge, please tell me what’s missing and I’ll add more details.

My Mikrotik is hAP ac. I’m connecting to my provider via PPPoE and I’m getting a static ip address.

When a connection comes to my ip address from outside of my home, it get’s routed accordng to configured rules. For example, if I have this rule:

/ip firewall filter
add action=dst-nat chain=dstnat dst-port=80 in-interface=\
    pppoe-out1 protocol=tcp to-addresses=192.168.88.99 to-ports=80

Then, when external connection comes on port 80 at my provider-assigned IP address it gets forwarded to 192.168.88.99:80.

However, if I try to connect to my provider-assigned IP address from within my network on port 80 I get Mikrotik web ui instead.

Is it possible to set Mikrotik, so that it loopsback when my provider-assigned IP address is requested and routes the connection the same way it routes external one?

What you are looking for is hairpin NAT

https://wiki.mikrotik.com/wiki/Hairpin_NAT

/ip firewall nat
add chain=srcnat src-address=192.168.88.0/24 dst-address=192.168.88.99 protocol=tcp dst-port=80 out-interface=(your out interface) action=masquerade

Thank you guys, it worked.

Which worked> Hairpin NAT or bastardized masquerade rule LOL

The rule is copied almost verbatim from the hairpin nat wiki page, so I’d argue they are one and the same. The rule alone did not work because in the example configuration I provided there was in-interface=pppoe-out1 restriction which did not mesh with the rule. Once I’ve changed that to be in line with examples on the wiki page, the masquarade rule worked.