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

    Per user bandwidth limit

    Scheduled Pinned Locked Moved Captive Portal
    17 Posts 9 Posters 21.6k 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
      amigota
      last edited by

      @ermal:

      Check your radius server maybe it is not a supported vendor.
      Add a log_error("Trying to work with " . $vendor);
      in radius.inc and see what is the value.

      i use echo log_error("Trying to work with " . $vendor);
      When i log in to captive portal, I got the result: Trying to work with 14122

      Below it is my radius debug when i log in:

      Sending Access-Accept of id 68 to 127.0.0.1 port 20474
              Session-Timeout == 300
              Idle-Timeout := 300
              WISPr-Bandwidth-Max-Down := 262144
              WISPr-Bandwidth-Max-Up := 131072
      Finished request 0
      Going to the next request
      –- Walking the entire request list ---
      Waking up in 6 seconds...
      rad_recv: Accounting-Request packet from host 127.0.0.1:38744, id=165, length=122
              NAS-IP-Address = 192.168.11.22
              NAS-Identifier = "pfSense.local"
              User-Name = "test"
              Acct-Status-Type = Start
              Acct-Authentic = RADIUS
              Service-Type = Login-User
              NAS-Port-Type = Ethernet
              NAS-Port = 0
              Acct-Session-Id = "cc9ef9fca9c06875"
              Framed-IP-Address = 192.168.169.105
              Called-Station-Id = ""
              Calling-Station-Id = "00:0c:29:40:c3:f1"
        Processing the preacct section of radiusd.conf

      But the bandwidth is still not working.
      Anything wrong???

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

        The option is only active on 2.0 iirc.
        For activating it on 1.2.3 search the 2.0 section of the forum.

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

          I can't find it. Can u guys show me how to make it work then?
          I need it so much

          Thanks

          1 Reply Last reply Reply Quote 0
          • R
            renoid
            last edited by

            Hi,

            I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.

            I wondered if is possible to assign more bandwith to determinate user.

            Thanks in advance

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

              @renoid:

              Hi,

              I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.

              I wondered if is possible to assign more bandwith to determinate user.

              Thanks in advance

              Yes, Per user bandwidth in pfsense is ok for me too. I think if we want to use multiple bandwidth, we have to use radius.
              But I'm testing now, it's not working yet.
              I asked anyone here to help me with 1.2.3 or alpha version, plz????

              Thanks

              1 Reply Last reply Reply Quote 0
              • dotdashD
                dotdash
                last edited by

                On 1.2.3RC3, you just run the wizard to configure some simple load balancing, then go to the CP and check the box.

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

                  hi guys

                  "Per-user bandwidth restriction" in 1.2.3 RC3 is ok, but i see some notes below this option:

                  If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. You will need to enable the traffic shaper for this to be effective.

                  But i've again and again to restrict bandwidth per user with radius attribute, it's not worked at all.

                  help please?

                  1 Reply Last reply Reply Quote 0
                  • I
                    izzi
                    last edited by

                    yes i have the same problem.
                    I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
                    I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
                    Why? anyone have any experience about this?

                    1 Reply Last reply Reply Quote 0
                    • S
                      slashdotfx
                      last edited by

                      @izzi:

                      yes i have the same problem.
                      I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
                      I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
                      Why? anyone have any experience about this?

                      bump anyone?

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

                        @renoid:

                        Hi,

                        I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.

                        I wondered if is possible to assign more bandwith to determinate user.

                        Thanks in advance

                        tutorials please ? i'am very need it

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