Traffic Shape Penalty Box not working.


  • 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.


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

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


  • 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.


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


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

    But I will read about, thanks.


  • @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?


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


  • @Grimeton WAN interface.
    Thanks.


  • 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.


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


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


  • @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 :)


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


  • @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?


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


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


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