[HOTSPOT] Check gateway

Hi there,

I want to use Mikrotik’s hotspot function to redirect all traffic to a local webpage without internet access.
Each time my hotspot can’t reach internet, hotspot redirect won’t work.
What can I do to avoid this? I don’t need internet access.
Here I’ve noticed that has been used a rule to check a gateway http://www.youtube.com/watch?feature=player_detailpage&v=55dGv8QtkYU#t=10s.
Does routse can help me?

Can somebody help me, please?

I think it is dns that it requires to operate. I’m not sure how you will do that without a dns server available.

So If I couldn’t reach a remote DNS server, hotspot automatic redirect won’t work?

That is what I discovered. There may be a way around it, but I did not find it. :frowning:

Thanks for your answer.
How did you discovered it? Did you made any tests?

Redirect DNS onto itself using firewall and then add a static DNS entry

Are you suggest to redirect each DNS request to Mikrotik IP address?
What I have to specify for the static DNS entry?

That will not work. It is not just a matter of the ip. There is a GET or POST statement in the packet header that specifies the page to be loaded. Chances are most of those will not be in your server.

It was fairly simple to deduce. If I tried accessing a domain name without an internet connection, no go. If I specified an ip address instead, it redirects to the login page.

Edit:You might be able to use some type of regexp in “/ip dns” to return a bogus ip for all domains, but I couldn’t get that to work either.