Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Can you not use an alias in shaper rules?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can you not use an alias in shaper rules? (Read 2375 times)
poodad
Newbie
Posts: 10
Karma: 0
Can you not use an alias in shaper rules?
«
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?
Logged
franco
Administrator
Hero Member
Posts: 17570
Karma: 1596
Re: Can you not use an alias in shaper rules?
«
Reply #1 on:
April 23, 2021, 07:57:02 pm »
No, firewall aliases are for pf firewall, shaper uses ipfw firewall which has a separate feature set.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Can you not use an alias in shaper rules?