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

    Per user bandwidth with freeradius

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 4 Posters 7.9k 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.
    • C
      camprt
      last edited by

      Hi all,

      I'm a fan of PF for nearly 3 years and i like it.
      Unfortunally, I'm waiting for PF support with freeradius bandwidth attributes to support per user bandwidth.
      Therefore, could this be happened?
      PF2.0 has per-user-bandwidth in CP and it's used to cover all user, but not each different bandwidth and user.

      I'm very appreciate to PF team to work very hard to this project. I will donate, if this issue will implemented.

      Or anybody else has done this feature already? could you share your experience?

      Thanks,

      Camprt

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

        It should work AFAIK.

        1 Reply Last reply Reply Quote 0
        • C
          camprt
          last edited by

          What do mean dude?

          1 Reply Last reply Reply Quote 0
          • C
            camprt
            last edited by

            Anyone please?

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

              He said it should work. AFAIK means "As far as I know".

              You just need to have your RADIUS server send back the proper REPLYATTR string to set a bandwidth limit. I'm not sure what FreeRADIUS uses for that, but it should be documented somewhere. Search the forum a bit, I know there are others out there using that feature.

              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
              • C
                cordeos
                last edited by

                From the radius.inc and captive portals index.php file it looks like the following should work (Nomadix attributes):

                [Vendor = 3309  (Nomadix)]
                ATTRIBUTE      Nomadix-Bw-Up
                ATTRIBUTE      Nomadix-Bw-Down

                Imagine you would add these to your radius radreply table, e.g.
                insert into radgroupreply (groupname, attribute, op, value) values (“slowspeed”, “Nomadix-Bw-Down”, “:=”, “1024″);

                not 100% sure on this though - would be good for someone to confirm this.

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