Is it possible to configure the MikroTik to direct users to a specific URL post authentication?
Im currently using both 450G and 493AH, Router OS 3.31
I assume you’re using Hotspots.
Yes, edit alogin.html or redirect.html, alogin.html would be preferred. From the (old) manual since the wiki doesn’t contain this yet:
request for “/login” page
- if user has successfully logged in (or is already logged in), alogin.html is displayed; if alogin.html is not found, redirect.html is used to redirect to the originally requested page or the status page (in case, original destination page was not given)
http://www.mikrotik.com/testdocs/ros/2.9/ip/hotspot.php
If you put something like this into alogin.html:
<meta http-equiv="refresh" content="0; url=http://www.google.com">
The customer will be redirect to Google’s home page after successful login.
This is recommended by the docs. look on the login.html page for this form:
<form name="sendin" action="$(link-login-only)" method="post">
<input type="hidden" name="dst" value="$(link-orig)">
</form>
There are more <input …> values than this. I shortened it for clarity.
Replace value=“$(link-orig)” with value=“http://www.yourdomain.com”