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

    Radius or voucher authentication on same captive portal.

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 4 Posters 3.2k 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.
    • C
      christopheb
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • T
        Trel
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • C
          christopheb
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • J
            jhochwald
            last edited by

            @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.

            Regards

            /JH

            1 Reply Last reply Reply Quote 0
            • T
              Trel
              last edited by

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

              multicappor.txt

              T 1 Reply Last reply Reply Quote 0
              • C
                christopheb
                last edited by

                This is great, Thank you!

                Regards,
                Christophe.

                1 Reply Last reply Reply Quote 0
                • T
                  tmtechonline @Trel
                  last edited by

                  @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?

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