This would be a really useful feature. We can already define schedules for firewall rules, could we look at providing the same support for the firewall rules in the traffic shaper?
There will be circumstances where traffic needs to be prioritised differently at different times of the day, e.g. work hours prioritise certain interactive traffic, evening prioritise more bulk or backup traffic etc.
+1
I know this is a old post, but hopefully resurrected.
I'm looking for a solution to introduce lag on a schedule. I see shaper can do this but not on a schedule. Introducing delay to some device will most likely prevent multiplayer games from working at a certain time. This would be handy IMO.
Quote from: cake on November 25, 2019, 11:25:27 AM
Introducing delay to some device will most likely prevent multiplayer games from working at a certain time. This would be handy IMO.
This is evil :'( and based on your nick I assume you should be against lag ;D
Wife (working from home): "Why is the internet so sloooowww?"
Me (also working from home), inspects OPNsense: "Ah...Kyle." (Son)
I quickly made a Shaper Rule throttling him to 10Mb/s.
Now I want to schedule it so it's only active during the work day.
Or I suppose I could just block all his devices with the FW settings (which can be scheduled) and maybe that will force him to go outside...
Any luck with getting the Shaper works on schedule?
No, it may be easier to write a small bash script calling the API and Run via cron
Had a similar issue, solved with some help and thought to let you know as well (even if it's an older topic):
Solution at https://forum.opnsense.org/index.php?topic=41141.0