Hair Pin NAT works without implementation

Dear Mikroik Gurus;

I have
add action=dst-nat chain=dstnat comment=“HTTP Server” disabled=no
dst-address=1.1.1.1 dst-port=80 protocol=tcp to-addresses=172.16.31.254 to-ports=80


1.1.1.1 is just example Public IP

If I set a phone, web browser or anything to 1.1.1.1 whether I am on the Local 172.16.31.0/24 network or on the public internet

the server at 172.16.31.254 gets connections and I don’t even have Hair Pin setup.

This is great but I am just wondering why it works when hair pin is not even setup? Is auto hair pin a new feature?

I am using RB450G with 6.2

Travis

Thank you

Connections out to the server should work… but does your client actually get the web page back?

I just tried it, and it works for every computer on that localnet except the server itself. It won’t load its own webpage.

Interesting…

I thought this was some hidden feature. I thought I had to have hair pin nat rules to make this work but for some reason it just works…

Never tried from the server itself back to the server as what need would there be for that anyways.

But I was just wondering why it works auto - magically? :slight_smile: lol

Mikrotik = Automagic? :laughing: