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

    If a client login in a wifi (in captive portal) all other client access internet.

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 552 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
      alexcheddar
      last edited by

      Hi, So my captive portal is up and running, it has a dedicated interface (opt 1) everything seems to work fine except that...

      I have a router that suppose to give wifi internet to clients when they have successfully login, in the captive portal.. the internet line for router came from a switch that is connected to pfsense. When they connect to the open wifi they are required to sign in, in the captive network. supposedly if I login to the captive portal i will be the only one having internet and not the other clients but if I login, all other clients that are connected to the wifi will have internet even if they won't login..

      it will just take one client to login for all connected devices to have internet.. I hope somebody could help me in this problem. thanks.

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

        @alexcheddar said in If a client login in a wifi (in captive portal) all other client access internet.:

        it will just take one client to login for all connected devices to have internet.. I hope somebody could help me in this problem. thanks.

        If, by any chance, you have a switch, and you can cable up two devices to your OPT1 interface you'll discover your problem is solved. So, the problem is your "Wifi AP" that "does something" that you don't want.

        Another test : check you DHCP pool on pfSense.
        And now check the IP that your wifi portal users obtain when connecting to the Wifi using your AP.
        You didn't notice something really strange ?

        What happens is quiet clear : your AP is also behaving as a router, and you are probably using the interface labeled "WAN" on this device to hook it up to pfSense.
        You should disable all routing functionality and all DHCP functionality in your AP, and you'll be fine.

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

        A 1 Reply Last reply Reply Quote 2
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Sounds like your wireless device is acting as a router and not only an AP.

          Captive portal sees the address+MAC of your wireless device, not the clients. Fix the settings in the wireless device so that it acts only as an AP and the problem will solve itself.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          A 1 Reply Last reply Reply Quote 1
          • A
            alexcheddar @jimp
            last edited by

            @jimp Thank you I understand it now since the Wifi is acting as a router it has its own IP address from the pfsense and when the user login, the ip address of the wifi has given access to the net. and thats why all connected client can also access the net.. thank you so much

            1 Reply Last reply Reply Quote 0
            • A
              alexcheddar @Gertjan
              last edited by

              @gertjan Thank you so much for the information. it gives me insight of the problem.

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