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

    Asking to enter vaucher when changing to another vlan

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 3 Posters 755 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.
    • P
      phdemartin
      last edited by phdemartin

      A strange thing occur.
      When a client, connected to the captive portal and go from a vlan to another, in the hotel, the authentication screen ask to enter the vaucher again.
      Any idea?
      d49ab7cf-4b45-460b-89aa-8aca3abf27b1-image.png

      F 1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance @phdemartin
        last edited by

        @phdemartin this is expected

        users are identified using their (IP,MAC) couple

        because of the VLANs, user are changing IP

        P 1 Reply Last reply Reply Quote 0
        • P
          phdemartin @free4
          last edited by

          @free4 Is it possible to identify the user based only on the MAC adress?

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

            Noop.
            Not possible.

            Btw : why using multiple LAN's (same as multiple VLAN's) == multiple captive portals in a hotel ?
            Something like "Captive portal 1" has low speed, and "CP2" has better speed but is more expensive ?

            What went wrong with the idea that "access costs pretty much nothing" and is flat-rate priced anyway.
            So, I never 'sold' vouchers for Internet access, using a captive portal in a 32 room hotel for a decade or so.
            (a couple of 30 $ APs, some dumb switches, a very old PC equipped with pfSense and 3000 feet of Ethetnet cable ... costs about ... nothing).

            edit : and before you ask : pfSense can't, right now, lock a voucher to one device (and IP and one MAC) and forbid any other vouchers usage afterwards.
            It will, as per your settings, disconnect an initial (first) login so only the last (second) login persists. A voucher owner could have multiple devices (phone, pas, PC) and wants to use it on all it's devices.

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

            P 1 Reply Last reply Reply Quote 0
            • P
              phdemartin @Gertjan
              last edited by

              @Gertjan Hi.
              We have a pretty poor connection 2X 15 meg down, 2x 2meg up here in the coast of Chile.
              In past years, the access points was accessible with wpa2 and password, but the crowded neighbors was always able to get the password from an employe or a guest and was stealling all the bandwidth.
              So we implemented a Pfsense (netgate 3100) to limit tha bandwidth per client and to control the internet acces.
              My client don't sale the Vaucher, the desk simply give a vaucher to avery guest acordingly to the time of stay in the hotel: 1,2,3,5,7,10 or 15 days
              We set various zones with diferents Vlan to have more than 254 address available for the clients and for private acces. Any sugestion ?

              F 1 Reply Last reply Reply Quote 0
              • F
                free4 Rebel Alliance @phdemartin
                last edited by

                @phdemartin yes,
                given your usage, pfsense seems to not be the appropriate captive portal tool for your usage. pfsense does not support cross-vlan captive portal

                I would recommend you to look into other appliances dedicated to captive portal (such as PacketFence)

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