Community discussions

MUM Europe 2020
 
bocha
just joined
Topic Author
Posts: 2
Joined: Thu Feb 13, 2020 8:41 am

Using domain pointing to WAN ip internally

Thu Feb 13, 2020 8:59 am

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;
- The domain nextcloud.example.com has the DNS record
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.
 
evince
Member
Member
Posts: 313
Joined: Thu Jul 05, 2012 12:11 pm
Location: Weiswampach - Luxemburg
Contact:

Re: Using domain pointing to WAN ip internally

Thu Feb 13, 2020 10:21 am

Hello, you need hairpin nat rules.

Regards,
 
bocha
just joined
Topic Author
Posts: 2
Joined: Thu Feb 13, 2020 8:41 am

Re: Using domain pointing to WAN ip internally

Thu Feb 13, 2020 10:42 am

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

Who is online

Users browsing this forum: bekars, r0ckr and 59 guests