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

One Voucher on First Device

Scheduled Pinned Locked Moved Captive Portal
7 Posts 2 Posters 606 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.
  • W
    waqas2k
    last edited by Mar 13, 2019, 5:27 PM

    Re: One Voucher Per Device Dear Team,

    I am also facing same issue, A voucher can be login to another device and first device goes disconnect, I did lots of search with no success, please support on same.

    Regards.
    M.Waqas

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Mar 14, 2019, 11:32 AM

      Hi,

      Be aware that most people are aware that a voucher is a private thing.
      Sharing often means : the same person that switches from his phone to his portable PC - so basically the same person.

      Add your name on the feature request (as shown in other threads you cited). A forum post in not very appropriate for this.

      Somewhere on this forum I wrote about what to do when you really want to block a second device (first device only). This means some minor edits, but it worked.
      I guess it's even possible to blow up the voucher (expire it totally) when it's used on a second device - not very commercial as an attitude but it an be done

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

      W 1 Reply Last reply Mar 14, 2019, 12:57 PM Reply Quote 0
      • W
        waqas2k @Gertjan
        last edited by Mar 14, 2019, 12:57 PM

        @gertjan can you please share that solution to me since I am looking forward same since couple of days.

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan
          last edited by Mar 14, 2019, 12:58 PM

          I don't have it anymore.

          It's posted on a public place : as said : this forum.
          I'll Ctrl-F when I have some time left.

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

          1 Reply Last reply Reply Quote 0
          • G
            Gertjan
            last edited by Mar 14, 2019, 1:19 PM

            Google still works great !! It's all a matter of words that are unique to the question.

            Jackpot on the first link proposed .... ;)

            site:netgate.com Gertjan Voucher Concurrent user logins

            As usual : code editing is fine. But you're on your own. No support.
            I tested my edits : it worked - back then.
            I'm not using the code right now, I'm not not using vouchers.
            (I use FreeRadius, and that solution supports "1 user per account" just fine).

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

            W 1 Reply Last reply Mar 14, 2019, 3:46 PM Reply Quote 0
            • W
              waqas2k @Gertjan
              last edited by Mar 14, 2019, 3:46 PM

              @gertjan great to hear, how free radius is helping on same without voucher ?

              1 Reply Last reply Reply Quote 0
              • G
                Gertjan
                last edited by Mar 14, 2019, 4:47 PM

                "FreeRadius" means : no vouchers as authentication. Just some access codes.
                You should generate users & passwords, or just passwords - and use a hidden username that is common among all portal users so you can hide it in the html login page (see pfSence doc/book) - FreeRadius can enforce one user for one logged in account.
                As been discussed on this forum many ... (more often ?) times.

                I should inform you that running a FreeRadius isn't for the faint of heart.

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

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received