OPNsense Forum
Archive => 21.1 Legacy Series => Topic started by: poodad on April 23, 2021, 07:23:03 pm
-
I'm trying to create a shaper rule to tame Microsoft windows updates (even one PC updating will clobber my DSL connection). I've found a way to more or less get all the IP addresses Microsoft uses as Windows update hosts.
My thinking is that I'd run a script periodically to collect the windows update IPs and use the OPNSense API to add them to an alias. I could then use the alias and build a traffic shaping rule to limit those hosts to a collective 1Mb/sec.
If I try to create a shaper rule using an alias as a source or destination address, I get an error message telling me to enter a valid network address.
Are aliases not usable in shaper rules?
-
No, firewall aliases are for pf firewall, shaper uses ipfw firewall which has a separate feature set.
Cheers,
Franco