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

    Traffic Shape Penalty Box not working.

    Scheduled Pinned Locked Moved Traffic Shaping
    17 Posts 3 Posters 2.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.
    • perikoP
      periko
      last edited by periko

      Hi.

      Need some help with TC penalty box. I follow the wizard, 2 nics WAN/LAN simple.

      I create a Aliases and add the IP's I want to penalize.

      Went start testing, all the http/https traffic from those IP's goes into the queue: qDefault
      and the others devices traffic into the same queue, talking about traffic http/https.

      The floating rules has the first rule for the penalty box and queue qOthersLow, but that queue won't get any traffic.

      I haven't customize my rules, are the same the wizard create to me, I show u here my rules.

      flotantes.png
      flotantes-2.png
      flotantes-3.png
      flotantes-4.png

      I had flush the states.

      Any suggestion I will appreciated, thanks.

      Pfsense 2.4.3_p3.

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

      1 Reply Last reply Reply Quote 0
      • GrimetonG
        Grimeton
        last edited by

        Use a floating rule and tick this box, then try again.

        19e997b6-0432-4651-beaa-be35e928e9bf-image.png

        1 Reply Last reply Reply Quote 0
        • perikoP
          periko
          last edited by

          Hi.
          I had try that option, I restart my pfsense box but still won't see any traffic in my qOthersLow.

          tc-1.png

          Any other suggestion?

          Thanks Grimeton.

          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
          www.bajaopensolutions.com
          https://www.facebook.com/BajaOpenSolutions
          Quieres aprender PfSense, visita mi canal de youtube:
          https://www.youtube.com/c/PedroMorenoBOS

          GrimetonG 1 Reply Last reply Reply Quote 0
          • B
            bobbenheim
            last edited by

            Have you tried the guidelines in the Pfsense docs for floating rules?

            perikoP 1 Reply Last reply Reply Quote 0
            • perikoP
              periko @bobbenheim
              last edited by

              @bobbenheim not yet, I follow the Traffic Shape wizard.

              But I will read about, thanks.

              Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
              www.bajaopensolutions.com
              https://www.facebook.com/BajaOpenSolutions
              Quieres aprender PfSense, visita mi canal de youtube:
              https://www.youtube.com/c/PedroMorenoBOS

              B 1 Reply Last reply Reply Quote 0
              • B
                bobbenheim @periko
                last edited by

                @periko by looking at your picture it seems that your using a match rule,
                and according to the Pfsense docs the last match wins the race.
                Have you tried putting your penalty rule at the bottom?

                1 Reply Last reply Reply Quote 0
                • GrimetonG
                  Grimeton @periko
                  last edited by

                  @periko What interface is the rule applied to? If you use the wrong interface....

                  perikoP 1 Reply Last reply Reply Quote 0
                  • perikoP
                    periko @Grimeton
                    last edited by

                    @Grimeton WAN interface.
                    Thanks.

                    Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                    www.bajaopensolutions.com
                    https://www.facebook.com/BajaOpenSolutions
                    Quieres aprender PfSense, visita mi canal de youtube:
                    https://www.youtube.com/c/PedroMorenoBOS

                    1 Reply Last reply Reply Quote 0
                    • perikoP
                      periko
                      last edited by periko

                      I had been working with Traffic Shape, following the wizard.

                      Trying to penalize some users in the network but no luck.

                      I had move my rule in the top, bottom, Apply the action immediately on match. etc.

                      Reset my states, reset my fw, is my lab don't affect user :-).

                      My test is easy, I would like to affect some user on http/https(penalize them) , I create a Alias.

                      My rule is to move those Alias users to p2p which are lower priority.

                      But anything they try to download data or youtube, that traffic appear in the standard queue that the wizard create 'qOthersHigh'.

                      I manually create my own rules following the current rules, but won't matter, all that traffic never goes in the p2p queue, talking about http/https that I can say, I see traffic in the p2p queue but is a little amount.

                      Them I can think that this feature is not working or I don't understand the meaning?

                      user1 192.168.20.111 Penalize
                      user2 192.168.20.102 Penalize
                      user3 192.168.20.100 No Penalize

                      Right now the 3 users are downloading data from difference sites, the Penalize users suppose to get 3% of the traffic during the wizard steps.

                      foro-1.png

                      Reading about floating rules, they are all check, the last one wins, now lets me show u my pftop queues.

                      foro-2.png

                      There u can see at the bottom, I create my custom rules and they don't have any records.
                      Don't know the meaning of the 'Q' before the interface(igb0) at the right?

                      Now how is the traffic on each user:
                      foro-3.png

                      Most of the pfsense docs talk about PRIQ which is more easy to setup, is based on priority, them is possible to control bandwidth and have some users eat lets like Limiters do? Or didn't understand the Penalize meaning?

                      Other question, we cannot control burst data from the outside right?
                      Youtube is http/https traffic?

                      I trying to understand this pfsense feature, any comment I will appreciated, thanks.

                      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                      www.bajaopensolutions.com
                      https://www.facebook.com/BajaOpenSolutions
                      Quieres aprender PfSense, visita mi canal de youtube:
                      https://www.youtube.com/c/PedroMorenoBOS

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bobbenheim @periko
                        last edited by

                        @periko can you take some screenshots of what the floating rule look like?

                        perikoP 1 Reply Last reply Reply Quote 0
                        • perikoP
                          periko @bobbenheim
                          last edited by

                          @bobbenheim yes, here they are.
                          foro-4.png
                          Thanks.

                          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                          www.bajaopensolutions.com
                          https://www.facebook.com/BajaOpenSolutions
                          Quieres aprender PfSense, visita mi canal de youtube:
                          https://www.youtube.com/c/PedroMorenoBOS

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bobbenheim @periko
                            last edited by

                            @periko If you push that pencil(edit) button at your "Traffico HTTP Penalizado" rule and take a screenshot of that, that was what i was going for. I assume that is the rule you want to penalize the host with :)

                            perikoP 1 Reply Last reply Reply Quote 0
                            • perikoP
                              periko @bobbenheim
                              last edited by

                              @bobbenheim yes, that is the users I want to penalize, here is the screenshot, is big..
                              foro-5.png

                              Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                              www.bajaopensolutions.com
                              https://www.facebook.com/BajaOpenSolutions
                              Quieres aprender PfSense, visita mi canal de youtube:
                              https://www.youtube.com/c/PedroMorenoBOS

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bobbenheim @periko
                                last edited by

                                @periko i assume that your alias Penalizados contains local ip adresses i.e. 192.168.1.x, and you are trying to match those adresses to traffic on the WAN interface when those adresses resides on the LAN interface. Can you try and set interface to LAN and see if it makes a difference?

                                perikoP 2 Replies Last reply Reply Quote 0
                                • perikoP
                                  periko @bobbenheim
                                  last edited by

                                  @bobbenheim Yes I can, won't affect LAN2LAN?

                                  Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                                  www.bajaopensolutions.com
                                  https://www.facebook.com/BajaOpenSolutions
                                  Quieres aprender PfSense, visita mi canal de youtube:
                                  https://www.youtube.com/c/PedroMorenoBOS

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bobbenheim @periko
                                    last edited by bobbenheim

                                    @periko traffic among hosts on your local subnet is not sent to pfsense.

                                    1 Reply Last reply Reply Quote 1
                                    • perikoP
                                      periko @bobbenheim
                                      last edited by

                                      @bobbenheim Looks like that was the trick, I can see the rule working choosing LAN for the Penalty users, thanks Sir.

                                      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                                      www.bajaopensolutions.com
                                      https://www.facebook.com/BajaOpenSolutions
                                      Quieres aprender PfSense, visita mi canal de youtube:
                                      https://www.youtube.com/c/PedroMorenoBOS

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