Radius or voucher authentication on same captive portal.



  • Hi,
          I know that this question has been asked before, but it was asked a few years back for older versions. I'm asking again to see if there is a workaround that somebody might have found since then.
          I have a setup whereby users authenticate on the captive portal via Radius, but I would also need to allow some users to authenticate to access the same network/VLAN by using Vouchers. Is there a way to make this work? I have version 2.1.5.

    Thanking you in adavance,
    Christophe.



  • I'm not familiar enough with using radius to answer completely, but other than the login page itself, does selecting radius authentication prevent vouchers from working, or do you just end up with no ability to enter the voucher code on the login screen?



  • Hi,
        I tried enabling Radius in the main CP configuration page and then also enabling Vouchers on the vouchers tab. Added the vouchers field in the portal html page and both radius and vouchers work with one submit button. I tried with each its own form (i.e radius and vouchers) and couldn't get it to work.

    Thanks.



  • @christopheb:

    I tried enabling Radius in the main CP configuration page and then also enabling Vouchers on the vouchers tab. Added the vouchers field in the portal html page and both radius and vouchers work with one submit button. I tried with each its own form (i.e radius and vouchers) and couldn't get it to work.

    Hi,

    I have both enabled on the same CP and it works fine.
    The Radius server logs the Voucher, not more. This is due to the fact that I have enabled it (Traffic logging).

    And by the way: You can implement all auth options at the same time and on the same HTML Page.



  • Here's an example multi-method login page.
    It's probably overkill for anything you're trying to do though.

    multicappor.txt



  • This is great, Thank you!

    Regards,
    Christophe.



  • @Trel said in Radius or voucher authentication on same captive portal.:

    Here's an example multi-method login page.
    It's probably overkill for anything you're trying to do though.

    multicappor.txt

    Can I please have a copy of the code?


Log in to reply