Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive Portal w/ freeradius (and vouchers) problem

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 5 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      klmiciano
      last edited by

      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.

      1 Reply Last reply Reply Quote 1
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

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

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • B
            bokikay
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              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

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              B 1 Reply Last reply Reply Quote 1
              • B
                bokikay @Gertjan
                last edited by bokikay

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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.