Redirect Specific Hotspot Username

Hi all,
I’m Using now mikrotik Server as a hotspot as i said above i want to redirect a specific username belong to my hotspot server.
Please any solution must be away of customers IP or Mac address.
Thanks for your time…
:laughing: :laughing: :laughing: :laughing:

Give more detailed description about your scenario.

Thanks my friend for your respond,
I want to tell you that my problem is i want to redirect all the traffic from a specific username on my hotspot server to a specific address on the internet or on my server…
:confused: :confused:

The idea that comes to my mind is to create a customized “servlet page”. You can see the specific instructions on how to do
this at http://www.mikrotik.com/testdocs/ros/2.9/ip/hotspot.php.

In general, modify the hotspot page alogin.html to include
an entry like this:

<head>
$(if username == samir)
<meta http-equiv="refresh" content="0; url=http://special_redirect_page">
$(endif)
</head>

The above will work AFTER the user successfully logs in. You didn’t say in your post when you wanted the user to see
this redirect page. After all, you won’t know which user it is until he/she logs in.

Or, did you want to redirect the user to a special page BEFORE they log in? If so, how will you know which user it is if they
have not yet logged in?

Does this do what you wanted? If not, post some more specifics about what sequence of events you would like to see
and we’ll help you out.

I need to do this too ..
I have a billing system I need every new user who got the prepaid card to login using the same known user/pass to be redirected to the billing system page .. where he can make an account for himself , entering the pin code .. etc..

so the scenario is to redirect a specific user/pass to a specific site only , without letting him to surf the net or go to public world …

Yes, I believe the best [automatic] way is to use modified login page for HotSpot user, where you have to put all the information about billing page.

You can consider to use proxy to redirect users/IP address to specific web-page, but it will not be to automatic __