[SOLVED] Radius Auth by MAC and welcome page

Hello,
We are working on programming mikrotik hotspot that authenticates by mac address through radius and displays (redirect, not popup) welcome page hosted elsewhere.
So far we were able to setup transparent mac authentication but got stuck at displaying welcome page.
tried wispr-redirect-url, but didnt work. probably because during mac auth hotspot does not touch login.html

Question: how would i setup welcome page with mac authentication?
Thanks

As soon as user’s MAC-address is detected by HotSpot, user is being authenticated in MAC-authentication case. Perhaps you can put some information to status-page, which is being displayed for the HotSpot (mac-user) after authentication.

sergejs: Unfortunately status page is not always displayed since majority of users have a popup blocker.
I’ve came up with this way:

Set up an address list called “welcomed” with timeout of 1d.
then add NAT rule that will redirect everyone who is not in “welcomed” address list to welcome page and at the same time add them to this address list allowing bypass in the future.

It works but to some extent: if user was going to http://www.mikrotik.com/testdocs and got redirected to http://www.welcome.com he actually will get redirected to http://www.welcome.com/testdocs

Of course, we can put some scripts on out welcome page that will strip that “/testdocs” portion, but it’s rather walkaround than a solution.
Is there a way to strip “/testdocs” portion BEFORE redirecting?

Thank you!

hey, got it working!
wispr-redirect-url actually works if transparent proxy is enabled in user profile.