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 and user (and/or freeradius group) "userY" to URL ?

    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){

    I think this will work with radius or local users but not pass through MACs or IPs

Log in to reply