Community discussions

MikroTik App
 
fuggii
just joined
Topic Author
Posts: 14
Joined: Thu Nov 26, 2009 5:22 pm

First page after user login without hotspot

Wed Apr 06, 2011 10:19 am

Hello

What i want to do is if any user login to PPPOE Server first time and wirte in his broswer any page MT redirect him directly to my web server, yes i know you say "use hotspot" for many reason i can't use it and i want to make without hotspot.

If someone know how or maybe doing something like this point me a clue how i can make it work


I will be grateful for any hint, I hope I did not write this chaotic and you know what I mean

Best regards
fuggii
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: First page after user login without hotspot

Wed Apr 06, 2011 4:35 pm

This is deceptively simple, but is actually very hard to do.

Think about all the apps a user runs that use HTTP. How are you going to determine a user actually sees your web page? Whatever just got redirected could be his virus scanner trying to update via HTTP, a widget on his desktop telling him the local temperature, or any other number of applications that are unable to display a redirect to a user. It's nearly impossible for the router to determine what happened on the client the redirect was issued to.

As far as I am aware there are no canned solutions for this other than a Hotspot (which works fairly well for this regard). I can think of a very rough approach to this, but it would not be something you would want to run in production for a pretty large number of reasons.
 
fuggii
just joined
Topic Author
Posts: 14
Joined: Thu Nov 26, 2009 5:22 pm

Re: First page after user login without hotspot

Wed Apr 06, 2011 5:12 pm

I thinking to do this redirect for specified time like 1 minute or something like that add src to adress list option you can set destination adres list and that list have make redirect to my web page but this mangle work all the time for all connection even if i set up timeout.

And now how to make it this adresslist "switch" back to normal after chosen time

The point is that I have done the address list for free access to the internet and I want each of those users who take advantage of this free access, after login for some time seen the page with ads and information. And like i say before i can't use hotspot for this

Here you can see what i have do for now

Image
Image

I think you will understand what i mean

Best regards
fuggii