Home Page Redirect

Does anyone know if there is a way to do a homepage redirct with the Mikrotik hotspot?

Thanks

yup just use dst-nat and limits… set the rule to only look at new connections on TCP port 80 set the action to dst-nat and redirect to the IP address of the webserver.. the only problem is the website you’re redirecting to has to be in the root directory..

unless someone knows of a better way of doing this?

Hmmm, but this would redirect ALL http requests to the configured ip address/webserver.

Is that really what “Wyoming” intended?
Perhaps he can describe a bit more what he’s actually trying to achieve? (I.e. only redirect the first HTTP request after logging onto the hotspot, redirecting all HTTP requests, …)

sorry i forgot to specify .. useing the LIMIT as well as TCP connection states

set the limit to the frequency you want it to redirect and the connection state to NEW

That is exactly what I am trying to achive. I want to only redirect the first http request after login to a certain page then from there the user can navigate anywhere they would like.

We found a better way to do this. We just modified the HTML Login page to redirect to the page we wanted once the user logs in. This seems to work very well and it will work for any web page.