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

    Traffic Shaper - On the fly

    Traffic Shaping
    3
    7
    1.3k
    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.
    • SamTzuS
      SamTzu
      last edited by

      For some reason I can't change/add a bandwidth management rules on the fly.
      If there is a need to add a new Traffic Shaper rule it wont seem to be applied until the actual offending traffic has stopped.
      Any way to "restart" the bandwidth service on the fly without restarting pfsense?

      Sam

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Try resetting the State table: Diagnostics - States - Reset States - Reset.

        1 Reply Last reply Reply Quote 0
        • SamTzuS
          SamTzu
          last edited by

          That kind of works but it also resets all the other connections. This is no big deal in it self but I would rather prefer to just affect that one problem connection that eats all bandwidth. I have a rule in LAN with Traffic Shaping that I use to limit connections that eat all bandwidth. But that rule never seems to be applied while the "upload" is still continuing ie. while the "State" is still up. Is it possible to apply the limiter in the middle of the upload?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            That's how it works.  The queues are set when the state is created and changes only apply to connections established after the changes are made.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • SamTzuS
              SamTzu
              last edited by

              If only wishes were pennies.

              Sam

              1 Reply Last reply Reply Quote 0
              • SamTzuS
                SamTzu
                last edited by

                It seems I have to redo all my traffic shaping rules.
                I noticed that WAN side rules over rule LAN side IP specific traffic shaping rules.
                Only solution seems to be to move all traffic shaping rules to LAN side.

                Sam

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  The rule that assigns the queue needs to be placed somewhere where it catches state generation.

                  To shape connections started by LAN clients out to WAN, the best place is probably a floating match rule on WAN out.

                  To shape connections inbound to servers, the best place is usually in the pass rule on WAN that allows the traffic in the first place.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

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