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

    Lock Voucher to one MAC address… $100

    Bounties
    4
    14
    4.1k
    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.
    • H
      hardy_rafael17
      last edited by

      The voucher on the captive portal can be reused on different equipments…
      I need the voucher to be usable only on one machine based on mac address.

      Thanx in advance...

      1 Reply Last reply Reply Quote 0
      • H
        hardy_rafael17
        last edited by

        Any One? :(

        1 Reply Last reply Reply Quote 0
        • H
          hardy_rafael17
          last edited by

          :-\

          1 Reply Last reply Reply Quote 0
          • B
            bryan.paradis
            last edited by

            @hardy_rafael17:

            :-\

            Have you tried disabling concurrent logins? What exactly is the problem you are trying to solve.

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

              Disable Concurrent Logins replaces the logged in MAC address with the next one that uses the voucher.

              Seems good enough to me, and allows people to switch from wireless to wired and back again if they want without creating an interrupt.

              OP might want the voucher to only work once and reject subsequent uses.

              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
              • H
                hardy_rafael17
                last edited by

                Thank you for your reply….

                I have different prices for different devices... let's say...  mobile phones cost less than desktop pcs and laptos...
                so if a clent gets a voucher.. after he or she leaves the store they could use the voucher for any device they want... I don't want clients to use the voucher on any other machine after they activate it on the phone....

                the problem is not concurrent logins I know how that works... and is not what I need.... thanks in advance....

                1 Reply Last reply Reply Quote 0
                • B
                  bryan.paradis
                  last edited by

                  @hardy_rafael17:

                  Thank you for your reply….

                  I have different prices for different devices... let's say...  mobile phones cost less than desktop pcs and laptos...
                  so if a clent gets a voucher.. after he or she leaves the store they could use the voucher for any device they want... I don't want clients to use the voucher on any other machine after they activate it on the phone....

                  the problem is not concurrent logins I know how that works... and is not what I need.... thanks in advance....

                  This is a much clearer explanation. Thanks

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    Do you still need this feature?

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

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

                      Doesn't:

                      Disable Concurrent Logins
                      Enable Passthrough MAC
                      Enable Passthrough MAC with username
                      Vouchers

                      Do this out of the box?

                      portal_reply_page($redirurl, "error", "Username: {$username} is already authenticated using another MAC address.",
                      $clientmac, $clientip, $username, $password);

                      Do I still get $100?

                      (The return call right after that should probably be an exit to avoid double-tapping portal_reply_page())

                      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
                      • H
                        hardy_rafael17
                        last edited by

                        @marcelloc:

                        Do you still need this feature?

                        Marcelloc… thank you... but I think that the way Derelict showed it was exactly what I was looking for... thank you anyways...

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

                          $100?

                          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
                          • H
                            hardy_rafael17
                            last edited by

                            @Derelict:

                            Do I still get $100?

                            Derelict… It seems that this is exactly what I was looking for.... thank you in so many ways...
                            ... Now... since there was no coding from your part and what you told me to do was surprisingly simple...

                            Would it be o.k with you if I only add 30 for you???... how do I pay you... I got Paypal...
                            Thank you...

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

                              I was really just funnin' you.  If you really want to fork over $30, please send it here: https://supporters.eff.org/donate

                              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
                              • H
                                hardy_rafael17
                                last edited by

                                :) That donation was just made…  :)

                                Thanks Again You guys are great!!!

                                "Thank you for donating!

                                Thank you for donating to the Electronic Frontier Foundation! We're proud to stand for your rights and will continue to fight for the user."

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