Hairpin NAT issues

Hello,

I was following a guide by @erkexzcx from this post and I’m having issues with port forwarding.
Enabling logs i see that the packet are getting marked but no getting masqueraded on “step 3” since packet count is 0(zero) and no logs are showing and i believe that’s why its not working as described here saying:

The issue occurs, when a client on the same internal network as the webserver requests a connection to the web server’s public IP address, the connection breaks

Hoping for a nudge in the right direction since i want to use more Mangle rules and learn more on how to utilize them in my Mikrotik’s configurations.
I have several services that hopefully i would be able to access from Public IP within my local network.

Configuration is included but some irrelevant items cut.
export.rsc (7.96 KB)

You should be using this article :wink:
https://forum.mikrotik.com/viewtopic.php?t=179343

I dont have time at the moment but one thing can be changed.
FROM
add action=accept chain=forward comment=“Allow port forwarding”
connection-nat-state=dstnat connection-state=new in-interface-list=WAN

TO this, is better!
add action=accept chain=forward comment=“Allow port forwarding”
connection-nat-state=dstnat

You can also have a look here https://help.mikrotik.com/docs/display/ROS/NAT#NAT-HairpinNAT