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

    Captive Portal + Freeradius limit multi login per user

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.5k 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.
    • V
      vermiboy
      last edited by

      Hi
      Is it possible to only allow a user to connect twice with a single freeradius User.
      I have tried "Number of Simultaneous Connections" and limit to 2 for (Laptop and cellphone for exemple)
      But when a look to the captive portal Status, some of my users have 3 connections.

      So is there a way to limit to 2 connections per login or i have to disable the concurent logins and set up 2 different login per user

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

        The way captive portal works in many cases it has to reauthenticate users to make sure their login is still valid. For example, to enforce time or data limits. If you limit a user to one login, this reauthentication fails since they are currently online when the reauth happens. So for one user to connect from one device the limit has to be at least 2.

        So to allow them to login twice, it would have to be set for 4+.

        Kind of ugly, though. Using multiple logins so they have one unique login per device is cleaner and more secure.

        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!

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