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

    Bandwidth throttling per-user on the captive portal.

    Scheduled Pinned Locked Moved Captive Portal
    11 Posts 9 Posters 9.0k 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.
    • S
      spacemind
      last edited by

      Hi,

      Does any one has this solution implemented in pfsense ?

      I have made some tests with captive portal + freeradius + mysl ( configured to Bandwidth throttling in mysql db ).

      Since pfsense doesn not bring any package with freeradius + mysql compiled is there any solution for me to limitd the bw for some group of users ?

      thanks
      spacemind
      PT

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        There is no bandwidth per user support atm. Only thing you could try is to setup a  bunch of queues and rules manually with upper limits.

        1 Reply Last reply Reply Quote 0
        • J
          jola
          last edited by

          @hoba:

          There is no bandwidth per user support atm. Only thing you could try is to setup a  bunch of queues and rules manually with upper limits.

          Could you give details/howto?
          Very much ppl asking for this.
          Thanks.

          1 Reply Last reply Reply Quote 0
          • J
            jeroen234
            last edited by

            its been told manny times here it is again:

            eneable the trafic shaper
            eneable voip
            when youre done
            adapt the voip rule and queue for every ipadress you need a fixed  Bandwidth

            make sure the total Bandwidth off all the ipadreses combined is not more then the total Bandwidth
            you give in by the trafic shaper, if it is then trafic shaping will not work

            1 Reply Last reply Reply Quote 0
            • H
              hchady
              last edited by

              this option exists already in the beta version of m0n0wall, could you please include it ?

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                m0n0 uses dummynet for trafficshpaing, pfSense altq. I don't think this feature is portable atm.

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

                  The option already exists in HEAD but there is a bug with pf redirects and dummynet.  When you use the two of them all traffic stops.

                  So we cannot include this feature until this FreeBSD issue is tracked down.

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

                    just on this topic. is dummynet differnet from altq it seems that ipfw can using altq netgraph.
                    or am i way ofline here. i have been looking for a way of implementing mpd pppoe server with
                    ipfw and altq for some time and i though recently i can close to a solution.

                    this would also apply to captive portal and allow other queues to be created dynamically via script or
                    radius

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

                      Dummnynet != ALTQ

                      1 Reply Last reply Reply Quote 0
                      • J
                        Justinw
                        last edited by

                        @jola:

                        @hoba:

                        There is no bandwidth per user support atm. Only thing you could try is to setup a  bunch of queues and rules manually with upper limits.

                        Could you give details/howto?
                        Very much ppl asking for this.
                        Thanks.

                        although a little harder when you have many users, the queue with upper limits has worked great for me.  Just create a queue for a specific host IP and then map the mac to that IP.  The host will get that IP each time and be routed through the corresponding queue.  This has worked great for me, but I can see where it wouldn't be helpful in a coffee shop like situation.  Use status >>queues to make sure it is being routed properly.

                        1 Reply Last reply Reply Quote 0
                        • P
                          Proximo
                          last edited by

                          I am running pfSense as a multi WAN load balacing router with no firewall or any other feature.
                          Will this speed limiting per IP address work in this situation?

                          Just a note.  I had to run decent hardware to keep up with the stress of load balancing:
                          Athlon XP 2400+
                          512 MB DDR 333Mhz
                          4 x 100MBit NICs
                          40GB HD (just cus)

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