Community discussions

just joined
Topic Author
Posts: 1
Joined: Mon Jun 24, 2019 9:54 am


Wed Jun 26, 2019 4:39 pm

Hi guys

I need some help. Note sure how to explain what i need but im going to try my best. Ok so I have a very basic network, fiber to highsite, then link to office,

At the office I have a server running UCRM (client info system). There is a client side, and admin side, so clients can log in and create a ticket and check billing. My problem is when I create a client, it sends them a welcome mail with a link to the ucrm like this " ... 21c37477f0" and it does not work. if i replace the domain with the ip it works because its all local. like this ... 21c37477f0.

My question, I would like to redirect local traffic that goes to to that ip in mikrotik. something like Walled garden in the hotspot(but cant use hotspot). Like a firewall rule or mangle. This should only be reachable from inside the network. I sent UCRM a mail and the response was "Looks like you need to create host mapping on your router for the to resolve the DNS." no idea how to do that.

Please know I have my MTCNA cert but is still a beginner and only know basics. Thank you all in advance
Forum Guru
Forum Guru
Posts: 3130
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada

Re: Redirect

Wed Jun 26, 2019 6:56 pm

Suggest using a consultant in your area! It will save much time.
I'd rather manage rats than software. Follow my advice at your own risk! (Sob & mkx forced me to write that!)
User avatar
Forum Guru
Forum Guru
Posts: 1795
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: Redirect

Thu Jun 27, 2019 12:28 am

on router run this:
/ip dns static add address=
Forum Guru
Forum Guru
Posts: 4015
Joined: Mon Dec 04, 2017 9:19 pm

Re: Redirect

Sat Jun 29, 2019 2:58 pm

on router run this:
/ip dns static add address=
The above will work if the clients use the Mikrotik with that record as their upstream DNS server. If they don't, they either have to me made to or you may use a dstnat rule on the router somewhere between the client and the internet uplink, redirecting requests to the actual public IP(s) of to But the clients may still be able to miss that rule if they e.g. use one network interface to connect to your network and another one to connect to the internet. So the only 100% reliable solution is to modify the UCRM's configuration to send inside the link.

But maybe you have clients in the internet as well and resolves to your own public IP, and what you actually look for is a hairpin NAT?
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: MSN [Bot] and 82 guests