Using domain pointing to WAN ip internally

I have got some domains pointing to my WAN ip to make some services on my NAS accessible from outside. This does not work when I go to the domain from inside my network, but I would like it to.

The situation is;

CNAME myddns.duckdns.org.
  • This is working fine from outside the network.
  • When I go to nextcloud.example.com from inside my network the request times out.

Before, when I was still on my ISP’s supplied router it worked out of the box, so it must be possible somehow.

Preferably I would like to achieve it without setting DNS records to my MikroTik DNS because not all my devices use the MikroTik DNS server, it requires me to change DNS records in two places and it might mess with security protocols.

Hello, you need hairpin nat rules.

Regards,

Thanks! From reading the wiki on Hairpin NAT that seems to be exactly what I need :slight_smile: