Depending of the user, redirect to this or that URL. possible ?
-
Is it possible to redirect the user (and/or freeradius group) "userX" to URL http://blahX.com and user (and/or freeradius group) "userY" to URL http://blahY.com ?
Automagically ? Using PHP ? "Forget about it !" ?
Regards from Rio de Janeiro, Brazil.
-
This can be done depending on you php skills.
if you look at /usr/local/captiveportal/index.php and add some extra code after line 167
portal_allow($clientip, $clientmac,$_POST['auth_user']);
along the lines of
if ($_POST['auth_user'] == userX){ header("Location: http://blahX.com"); }else{ header("Location: http://blahY.com"); }
I think this will work with radius or local users but not pass through MACs or IPs