Hi, I have same problem. I have switched from HAProxy to NPM in a docker container inside a vm on proxmox and other services (vm, lxc container) inside proxmox. The services are working from WAN, but in LAN they are unreachable.
In my router I’ve set up these rules:
/ip firewall nat
add action=masquerade chain=srcnat comment="Hairpin NAT" dst-address=LAN subnet src-address=LAN subnet
add action=src-nat chain=srcnat comment="Server interni" dst-address-type="" src-address="IP NPM Host" to-addresses=WAN IP
add action=dst-nat chain=dstnat dst-address=WAN IP dst-port=443 protocol=tcp to-addresses="IP NPM Host"
add action=dst-nat chain=dstnat dst-address=WAN IP dst-port=80 protocol=tcp to-addresses="IP NPM Host"
but no luck.
I can’t figure out to solve. I think there is something wrong with docker and LAN network