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

    Voucher authorize 1 MAC address (1 voucher = 1 MAC Address)

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 2 Posters 2.8k 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.
    • F
      fourm101
      last edited by

      Hi,
      I'm using the CP with the vouchers.
      When a user start a session with a voucher, I would like to forbid the use of the same voucher by another MAC address (1 voucher=1 MAC address).
      I activated the options "Enable Pass-through MAC automatic additions" and "Enable Pass-through MAC automatic addition with username" and it worked, if I tried to reuse the voucher on another laptop I got the message "voucher already in used by <mac address="">" but the expiration time of the voucher is no longer valid.

      Do you know if there is any solution to that?

      Thank you,
      Fourm</mac>

      1 Reply Last reply Reply Quote 0
      • F
        fourm101
        last edited by

        Anyone?

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

          Enable "Disable concurrent connections"
          The options you set - I think - do not do what you want. Do not use them for this problem.

          1 Reply Last reply Reply Quote 0
          • F
            fourm101
            last edited by

            From what I tested "Disable concurrent logins" just allow one session per voucher.
            If you're connected with a voucher and another person try to connect with the same session, the voucher will work for him and the first session will be disconnected.

            But if you check "Enable Pass-through MAC automatic addition", with this option, the same voucher can't be used by 2 different machines. That's what I want. But it's also invalidate the expiration date of the voucher.

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

              @fourm101:

              (…)
              But if you check "Enable Pass-through MAC automatic addition", with this option, the same voucher can't be used by 2 different machines. That's what I want. But it's also invalidate the expiration date of the voucher.

              The description tells you why:

              If this option is set, a MAC passthrough entry is automatically added after the user has successfully authenticated. Users of that MAC address will never have to authenticate again
              

              This adds an passthrough based on the MAC address. A passthroug bypasses the CP. It bypasses the login system. No matter if it is voucher or username/password.

              1 Reply Last reply Reply Quote 0
              • F
                fourm101
                last edited by

                Yes I understand that.
                But is there anyway to have a Pass-through MAC for a limited time?
                Some hacks?

                Thank you for your help,

                Antoine

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