This can be a newbie question but I really have no idea how to do… I have an address name linked to my public address (DDNS) and I want to use it locally, I mean, Instead of using 192.168.x.x, I need to use somename.myddns.com:port locally and it redirects to my local network instead of searching the internet DNS. With the ISP modem/router it works fine, not needing any configuration, but when I installed Mikrotik router it stopped working and I don’t know how to set it up.
The request somename.myddns.com:port is working fine externally, but when try to use it locally it doesn’t work.
When you are not sending different port numbers to different servers it could be better to put a static
entry for somename.myddns.com in the DNS service with the address of the internal server (192.168.x.x)
so that internal clients asking for somename.myddns.com get directly connected to the server without NAT.
Of course this only works when everyone on the local network uses the MikroTik’s DNS.
In a slightly larger network (e.g. business) you would handle this on your local DNS server (split DNS).
Thanks, I think that is what I need. I’ll test and reply back here.
As I understand this works if I need to redirect to a specific IP address right… but I need it to pass through the other NAT rules (using port numbers to reach different local IPs), so I think the solution nescafe2002 presented fits better for me.