Captive Portal w/ freeradius (and vouchers) problem



  • Hey guys, just want to ask question about the problem I've encountered.

    Captive Portal is working w/ freeradius. HTTPs login enabled. (Vouchers is still disabled)
            Users can login through the portal using the accounts I've created on freeradius.

    Now when I enabled the vouchers. ( I'm still not creating vouchers roll, and not editing any settings)
            The same credentials are having errors on Captive Portal login page.. (eg. Invalid Credentials..)

    What is this error? Why is it that when vouchers are disabled, accounts created on FreeRadius can login. But when it is enabled, they cannot..

    Note:  I have 2 Captive Portal Pages(Different styles)..  This problem arises on the Second Captive Portal..  The first Captive Portal doesn't encounter errors like this (Everything works, I just want to use the second Captive Portal because of the design)..
        Is there any chance that the error lies in the code of the Second Captive Portal(html)?

    Waiting for answers.
    Thanks.


  • LAYER 8 Netgate

    Because when vouchers are enabled you need to enter a voucher to log in.



  • As far as I can see you can define different authentication methodes for different Captive Portal Zones.
    So you should configure RADIUS for the first Zone and Local User database / Voucher for the second Zone.



  • Hello. @Nachtfalke I already configure the captive portal zone with freeRadius package yeah it works fine. But in my second zone I used to have vouchers enabled but I couldn't see Local user database/Vouchers in the Authentication Server option. Any suggestion please

    Thank you



  • It's there :

    392659cd-574d-4fee-ac3a-1f3024e87cb4-image.png

    and you can select if when setting up a captive portal zone :

    e8d2d890-8c5b-4f67-b5d6-8844d7514098-image.png



  • Hello sir @Gertjan, thank you so much. I it works really great. It saves my day :). VERY MUCH APPRECIATED.


Log in to reply