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

    Control Users Bandwidth in CP

    Scheduled Pinned Locked Moved Captive Portal
    16 Posts 5 Posters 1.8k 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.
    • GertjanG
      Gertjan @mohkhalifa
      last edited by

      @mohkhalifa said in Control Users Bandwidth in CP:

      What do u mean by "Codel'

      It starts here Firewall > Traffic Shaper > By Interface

      Read https://forum.netgate.com/category/26/traffic-shaping and related Netgate videos. he subject is huge.

      Btw : I use myself the captive portal and combination with FreeRadius, so I can attribute speeds for each user.

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

      mohkhalifaM A 2 Replies Last reply Reply Quote 0
      • mohkhalifaM
        mohkhalifa @Gertjan
        last edited by

        Dear @Gertjan,
        Thanks for your reply. How can I integrate my Active Directory "LDAP"with FreeRadius to control user bandwidth ?
        it will be appreciated if you send me some detailed documentation.
        Thanks

        GertjanG F 2 Replies Last reply Reply Quote 0
        • GertjanG
          Gertjan @mohkhalifa
          last edited by

          I don't know what this is :

          @mohkhalifa said in Control Users Bandwidth in CP:

          Active Directory "LDAP"

          Some Microsoft functionality ?

          I'm using FreeRadius with some sort of MySQL (MariaDB) database back end.

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

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

            @mohkhalifa https://wiki.freeradius.org/guide/FreeRADIUS-Active-Directory-Integration-HOWTO

            mohkhalifaM 1 Reply Last reply Reply Quote 0
            • mohkhalifaM
              mohkhalifa @free4
              last edited by

              @free4 thanks but it's not for pfSense, it's general

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

                @mohkhalifa yeah...im not talking About pfsense here

                if you are looking for having per-user bandwidth, then you will have to use a Radius server. pfsense does not allow you to perform per-user bandwidth control when using LDAP authentication method

                my recommendation : install a freeradius on a separate server/virtual machine. this radius server would use your LDAP server as source, and would define other rules for per user bandwidth

                this Radius server would then be used by your pfsense for authenticating users

                for information, It is technically possible to install freeradius directly on pfsense(using freeradius3 package)...but I would not recommend it to you: this package is mostly unmaintained, and suffers from bugs. if you are still interested, you should have a look to this forum post

                mohkhalifaM 1 Reply Last reply Reply Quote 0
                • mohkhalifaM
                  mohkhalifa @Gertjan
                  last edited by

                  @Gertjan "I don't know what this is :" I want to authenticate using the Windows Server Active Directory users. also, to add bandwidth limit for each one. that's it

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

                    @mohkhalifa said in Control Users Bandwidth in CP:

                    "I don't know what this is :"

                    I was kidding ^^

                    What I know is : pfSense can interface with the package FreeRadius, and for that matter with any Radius server.
                    You'll be needing the latter.

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

                    1 Reply Last reply Reply Quote 0
                    • mohkhalifaM
                      mohkhalifa @free4
                      last edited by

                      @free4 said in Control Users Bandwidth in CP:

                      my recommendation : install a freeradius on a separate server/virtual machine. this radius server would use your LDAP server as source, and would define other rules for per user bandwidth

                      Dear @free4 really Thanks for your kind help. If you please can you send me a links for a documentation or video tutorials to do that task.

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

                        @Gertjan can you point me to a video tutorial or any tutorial on how to this. i have CP and also using SQUID proxy transparent, the only lacking is to connect freeradius so i could also limit bandwidth per user in a single lan. thanks.

                        mohkhalifaM 1 Reply Last reply Reply Quote 0
                        • mohkhalifaM
                          mohkhalifa @alpax8
                          last edited by

                          @alpax8 said in Control Users Bandwidth in CP:

                          @Gertjan can you point me to a video tutorial or any tutorial on how to this. i have CP and also using SQUID proxy transparent, the only lacking is to connect freeradius so i could also limit bandwidth per user in a single lan. thanks.

                          Dear @alpax8,
                          Please note that I'm NOT using FreeRADIUS, I'm using pfSense with Windows RADIUS Server and everything is working amazing.

                          A Y 2 Replies Last reply Reply Quote 0
                          • A
                            alpax8 @mohkhalifa
                            last edited by

                            @mohkhalifa oh ok. thanks.

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yanqian @mohkhalifa
                              last edited by yanqian

                              @mohkhalifa
                              Well, I found 2 threads about Microsoft NPS posted by you in CaptivePortal category, and I am glad that you figured out how to use Microsoft NPS as radius server for pfSense authentication.

                              It's better that you can take some time to share your experience in your own thread, It will help me and others who may got the same issue.

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