New Traffic Shaper

Started by keropiko, February 08, 2025, 03:01:52 PM

Previous topic - Next topic
Hello all.

First of all thank you to the opnsense team for the great work and the fluent update to 25.1 with no problems.

I would like to ask something related to traffic shaping.
I have noticed in the firewall rules, a new "experimental" section for traffic shaping (choosing direction and shaper in the rule) that reminded me of the long,long past using shaping in pfsense.

Is the Firewall/Shaper section going to change towards this approach in the future or will both co-exist in opnsense?
Are there any advantages/disadvantages?

Should we prefer the classic shaper of opnsense, start migrating to the new way for traffic shaping or use it only for limiters?

Sorry for the many questions and thank you in advance for any reply.

I understand the new "experimental" section in the firewall rules can replace the "rules" in the shaper setting, nothing more.

I think you misunderstand this.

There is no new Traffic Shaper. Its still the same, difference is that the new feature allows you to use FW rules(pf) for the Pipe/Queue instead of using the Rules in Shaper section (ipfw). This gives the possibility to use Rules that are based on aliases, nested aliases, groups, nested groups etc.

Currently this feature is experimental meaning it may or may not work/behave as expected.

Quote from: Seimus on January 25, 2025, 12:16:31 AMThe feature that you are pointing to is this one

Basically it should enable to put  a queue or pipe directly into a specific rules created under Firewall > Rules instead of Shaper > Rules

This gives the benefit that basicaly you can do Rules + Shaper within one entry and don't need specific rule-sets in the Shaper section. However you still need to configure the Pipe and Queues in the Shaper section.

Regards,
S.


Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Hi and thank you for the replies.

In base of priority? Let's say i have generic traffic shaping rules for a subnet in the firewall/shaper section, if i add a specific firewall rule with the experimental new feature for a client in the same subnet, which shaper will be used first?