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

    How to make a voucher expire when it reached a usage of 500MB

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 5 Posters 2.0k 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.
    • S
      srilanka
      last edited by

      I find it extremely useful to have captive portal and vouchers. But now I have a new requirement to limit voucher user's total usage (not limiting their speed for certain time period). So I want vouchers to expire when they reached a certain limit of total usage in MBs. How can I accomplish this?

      Thank you

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

        You can't with the built-in voucher system. You can by doing a RADIUS setup that essentially creates fake vouchers (a hard coded password in the portal page, and the voucher is the username). Then configure your RADIUS server accordingly.

        1 Reply Last reply Reply Quote 0
        • S
          srilanka
          last edited by

          Thank you very much m8.. I made it.. it's all cuz of you!!

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

            @srilanka:

            Thank you very much m8.. I made it.. it's all cuz of you!!

            How do you do it my friend  (srilanka) did you use Windows Server as A radius Server OR What?

            Thanks in advance …..

            1 Reply Last reply Reply Quote 0
            • S
              splankterdz
              last edited by

              @srilanka:

              Thank you very much m8.. I made it.. it's all cuz of you!!

              may i know how you do it?

              1 Reply Last reply Reply Quote 0
              • I
                Iahmad
                last edited by

                i am also interested dear :) :)

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