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

    "Master" captive portal for voucher management

    Scheduled Pinned Locked Moved Captive Portal
    11 Posts 4 Posters 3.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.
    • A
      asura
      last edited by

      user login CP form branch A, branch B, branch C, branch D and branch E.
      but all of them will be redirect to Master CP and Master CP will do the authentication.
      voucher only can be generate at Master CP ..

      actually im looking solution for this kind of scenario ..anyone pls  :-[ ..thanks

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        asura,

        this is supported in 2.0.1 release.
        The scenario you are talking about explicitly.
        If you setup on all branches other than master the sync settings under voucher screen of CP they will go and synchronize with master always for the login.

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

          That would be great, I have the same issue.
          I think the voucher system uses RADIUS internally somehow, so maybe the config is exportable from the master and then all CP's would use a central RADIUS for authentication.

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

            Ermal, thank you for your answer.

            I have noticed this setting.
            However, doesn't that only synchronize when I create new vouchers?
            And how about when a user uses up a code on a branch CP, would the expiration / time remaining on the voucher code be synchronized back to the master, and to all other branches from there?
            How about when a code is used up on the master CP? Would the branch CP's be notified?

            1 Reply Last reply Reply Quote 0
            • A
              asura
              last edited by

              thanks a lot ermal ..im on vacation for now.
              im back at my office on sunday and i will look at the setting as u mentioned

              thanks again

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                @namezero111111:

                Ermal, thank you for your answer.

                I have noticed this setting.
                However, doesn't that only synchronize when I create new vouchers?
                And how about when a user uses up a code on a branch CP, would the expiration / time remaining on the voucher code be synchronized back to the master, and to all other branches from there?
                How about when a code is used up on the master CP? Would the branch CP's be notified?

                Master CP is the only source of information for this.
                You need to generate vouchers on it and only it.
                The branch CP's will always ask master during login and synchronize their voucher status during it.
                The master CP, since this is about vouchers, does not need to get any notification from branch because a voucher is a one-off timer. You trigger it and it exists up-to consumption.

                I.E. If a voucher is used in one branch and someone tries to use the same voucher on the other branches 'almost' the same behavior of voucher will be observed as if they logged on the same box. This was the design behind it.

                1 Reply Last reply Reply Quote 0
                • A
                  asura
                  last edited by

                  @namezero111111:

                  Ermal, thank you for your answer.

                  I have noticed this setting.
                  However, doesn't that only synchronize when I create new vouchers?
                  And how about when a user uses up a code on a branch CP, would the expiration / time remaining on the voucher code be synchronized back to the master, and to all other branches from there?
                  How about when a code is used up on the master CP? Would the branch CP's be notified?

                  i cant find it ..will u plss help show me the setting

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by

                    @asura:

                    i cant find it ..will u plss help show me the setting

                    I would guess it is on Services -> Captive Portal, click on Vouchers tab and scroll down to Voucher database synchronisation section.

                    1 Reply Last reply Reply Quote 0
                    • A
                      asura
                      last edited by

                      thankss ..im will at that  ::)

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

                        asura, have you tried the setting?

                        Will it sync back between portals when vouchers are used up or can one use each voucher on every CP?

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