Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Traffic Limiting not working in 2.2.4

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 1 Posters 1.3k 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.
    • M Offline
      Mayoor
      last edited by

      Here is what I used … word to word and Once enabled can go to Yahoo.com and all other sites .... tried msn.com and cnn.com and both timed out ...

      How to setup a “fair use” bandwidth limiter for pfSense.  What I mean by “fair use” is as follows.

      If there is only one user downloading, give them the full download speed available
      If another user starts to download, then dynamically throttle the existing user and share the bandwidth approximately 50/50
      As other users join in, throttle all connections to provide equal bandwidth to all users.

      Overview

      This example uses pfSense 2.1

      Create a Download Limiter (a Fake Pipe) (name it something like DownloadLimit)
      Set the total Download Bandwidth such as 10 Mbps, enable it and save
      Create a Child Queue under the Download Limiter and name it something like Queue_OUT
      set the slots to “Destination addresses”, enable it and save
      Creat a Upload Limiter (a Fake Pipe) (name it something like UploadLimit)
      Set the total Upload Bandwidth such as 1 Mbps, enable it and save
      Create a Child Queue under the Upload Limiter and name it something like Queue_IN
      set the slots to “Source address”, enable it and save
      Create a new Firewall Rule under LAN
      Action: Pass
      Protocol: TCP/UDP (or any)
      Source: Lan subnet
      Advanced Features -> In/Out: Queue_IN / Queue_OUT
      Save and activate this rule
      Reload the state table by Diagnostics -> States -> Reset States
      Refresh your browser becuase resetting the states kills all existing connections
      Monitor the Limiters or the Traffic Graph to see the new limits in place

      Need Help

      Here is diagnostic limiter infomation

      Limiters:
      00001:  50.000 Mbit/s    0 ms burst 0
      q131073  50 sl. 0 flows (1 buckets) sched 65537 weight 0 lmax 0 pri 0 droptail
      sched 65537 type FIFO flags 0x0 0 buckets 0 active
      00002:  5.000 Mbit/s    0 ms burst 0
      q131074  50 sl. 0 flows (1 buckets) sched 65538 weight 0 lmax 0 pri 0 droptail
      sched 65538 type FIFO flags 0x0 0 buckets 0 active

      Queues:
      q00001  50 sl. 8 flows (256 buckets) sched 1 weight 1 lmax 0 pri 0 droptail
          mask:  0x00 0x00000000/0x0000 -> 0xffffffff/0x0000
      BKT Prot Source IP/port_ Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
        1 ip          0.0.0.0/0          127.0.0.1/0        1      60  0    0  0
      71 ip          0.0.0.0/0      74.125.21.189/0        1      68  0    0  0
      81 ip          0.0.0.0/0        192.168.2.1/0        3      204  0    0  0
      112 ip          0.0.0.0/0      74.125.196.139/0      25    3007  0    0  0
      135 ip          0.0.0.0/0      74.125.21.125/0        1      93  0    0  0
      214 ip          0.0.0.0/0      104.94.199.107/0        1      41  0    0  0
      218 ip          0.0.0.0/0      173.194.65.94/0        4    1865  0    0  0
      251 ip          0.0.0.0/0      98.137.201.232/0        1      41  0    0  0
      q00002  50 sl. 5 flows (256 buckets) sched 2 weight 1 lmax 0 pri 0 droptail
          mask:  0x00 0xffffffff/0x0000 -> 0x00000000/0x0000
        7 ip    74.125.21.189/0            0.0.0.0/0        1      68  0    0  0
      89 ip    98.137.201.232/0            0.0.0.0/0        1      52  0    0  0
      107 ip    74.125.196.139/0            0.0.0.0/0        4      432  0    0  0
      135 ip    74.125.21.125/0            0.0.0.0/0        1      40  0    0  0
      195 ip      74.125.21.95/0            0.0.0.0/0      14    5908  0    0  0

      ![limiter information.PNG](/public/imported_attachments/1/limiter information.PNG)
      ![limiter information.PNG_thumb](/public/imported_attachments/1/limiter information.PNG_thumb)
      ![error on browser.PNG](/public/imported_attachments/1/error on browser.PNG)
      ![error on browser.PNG_thumb](/public/imported_attachments/1/error on browser.PNG_thumb)
      ![error on browser.PNG](/public/imported_attachments/1/error on browser.PNG)
      ![error on browser.PNG_thumb](/public/imported_attachments/1/error on browser.PNG_thumb)

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mayoor
        last edited by

        bump new information …. also upgraded 2.2.5 and not working

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