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

    Is it possible?

    Captive Portal
    9
    53
    9.5k
    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.
    • DerelictD
      Derelict LAYER 8 Netgate
      last edited by

      What?

      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
      • A
        Amethz
        last edited by

        I'm the one who will generate the voucher codes not the pfsense

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

          Not that I know of.  There's crypto involved that has to match up.  Why not let pfSense do it?  You can generate hundreds if not thousands at a time.  Take them, put them in a database, print cards, whatever, and hand them out by whatever means works for you.

          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
          • A
            Amethz
            last edited by

            Our adviser suggested that, so I asked if it's possible… thanks anyway :)

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

              I'm planning to install the squid 3, is there any conflict between that and captive portal?.. what other package/s I should install to make my pfsense more useful? TIA

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                "Squid 3": don't know.
                "squid" was (is ?) breaking the portal - see the many (even more) subjects on this forum.
                YMMF.

                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
                • A
                  Amethz
                  last edited by

                  another question, I set the dhcp range on lan to 192.168.1.2 to 192.168.1.10
                  why is that some IPs connected to my lan is 192.168.1.100 and up?

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan
                    last edited by

                    Another DHCP server (on LAN) ?
                    Static IP setting used by clients ?

                    You saw the pfSense DHCP server logs ?

                    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
                    • A
                      Amethz
                      last edited by

                      could I specify what's the error on voucher code?..

                      1st: this voucher is being used by other device
                      2nd: invalid voucher code (when they enter a wrong code)
                      3rd: expired voucher (when there's no remaining time left)

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan
                        last edited by

                        @Amethz:

                        1st: this voucher is being used by other device

                        See GUI -> Captive portal -> Vouchers
                        " If the voucher is used again from another computer, the previous session is stopped. "
                        If some one passes his voucher code to some one else, he will loose the usage of it.
                        So, don't worry, no one will 'loose' his voucher code.
                        @Amethz:

                        2nd: invalid voucher code (when they enter a wrong code)

                        See GUI -> Captive portal -> Vouchers
                        @Amethz:

                        3rd: expired voucher (when there's no remaining time left)

                        See GUI -> Captive portal -> Vouchers

                        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
                        • A
                          Amethz
                          last edited by

                          thanks Gertjan.. what the problem about this, 1 voucher many users  :'(

                          qweqwe.jpg
                          qweqwe.jpg_thumb

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

                            load balancing is for multiple wan only?

                            1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan
                              last edited by

                              @Amethz:

                              1 voucher many users  :'(

                              Or: one user (one person) but more then one device (SmartPhone, Pad, PC, whatever)

                              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
                              • A
                                Amethz
                                last edited by

                                @Gertjan:

                                @Amethz:

                                1 voucher many users  :'(

                                Or: one user (one person) but more then one device (SmartPhone, Pad, PC, whatever)

                                it should be 1 voucher per 1 device only, do I need to reinstall my pfsense?

                                1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan
                                  last edited by

                                  read what the image proposes.
                                  Note that 'user name' is the voucher code.

                                  imagine-what-this-does.PNG
                                  imagine-what-this-does.PNG_thumb

                                  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
                                  • A
                                    Amethz
                                    last edited by

                                    thanks! I thought it's because of power interruption why my voucher restriction is not working anymore

                                    1 Reply Last reply Reply Quote 0
                                    • GertjanG
                                      Gertjan
                                      last edited by

                                      Dono.
                                      Devices like firewalls (pfSEnse, PC's, whatever) always run on UPS on 'my places'.

                                      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
                                      • E
                                        eulereggae
                                        last edited by

                                        the answer is YES.
                                        im actually doing it. and also i use a wireless router after my pfsense and my devices redirects to captive portal (just not a dd-wrt tho)

                                        but still, i think pfsense will sill redirect devices to its captive portal.

                                        but to be sure, just turn off DHCP on your router then plug your pfsnse to one of your router's LAN ( again LAN not WAN) ports and you'll be good to go.

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