Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
"Set Priority" to a specific LAN rule
« previous
next »
Print
Pages: [
1
]
Author
Topic: "Set Priority" to a specific LAN rule (Read 1446 times)
Mayo132
Jr. Member
Posts: 52
Karma: 1
"Set Priority" to a specific LAN rule
«
on:
October 24, 2023, 08:00:41 pm »
Hey everyone,
I would like to ask if there is a possibility to prioritize a specific LAN rule.
The reason why iam asking is Microsoft Teams. For example, at the moment some people are sharing one ISP connection (100/40 Mbits). Now when someone starts a download an reach out the Internet limitation, the videostreams of MS Tems starts to stutter or the clients get a disconnect.
Now iam looking for a solution, to say, that the traffic which belongs to Rule "MS TEAMS" always will get a higher priority.
I think this is possible, but at the moment, i do not know how i can realize this.
Maybe it could be the "Set Priority" settings in the ruleset?
Thanks a lot.
Mario
Logged
CJ
Hero Member
Posts: 832
Karma: 30
Re: "Set Priority" to a specific LAN rule
«
Reply #1 on:
October 25, 2023, 02:35:47 pm »
Have you looked at the traffic shaper?
https://docs.opnsense.org/manual/shaping.html
Logged
Have Answer, Will Blog
Mayo132
Jr. Member
Posts: 52
Karma: 1
Re: "Set Priority" to a specific LAN rule
«
Reply #2 on:
October 25, 2023, 07:50:02 pm »
Hi,
thanks. This is what iam looking for. But i have some problems to understand it. So please let me ask a further question.
My ISP Connection: 100 MBit/s down // 40 MBit/s up
So what have i done until now:
1. Setting up a pipe (Fiewall -> Shaper -> Pipes)
See "pipe-download" and "pipe-upload" pictures
2. Setting up a queue - for upload und download > "Attachment Queue"
3. Setting up a ruleset for upload and download > "Attachment Rule"
With this rule i limit the speed to
Download: 95 Mbit /s
Upload: 35 Mbit/s
The reason why limiting is, that there was some problems with Videocalls and after adding this rules (like some mentioned in this forum) - everything is working better.
But how can i add a ruleset for "priortizing" the traffic for MS TEams
> MS Teams needs the UDP Ports outgoing 3478-3481
How can i add these to the shaper ?
Thanks a lot.
Logged
Mayo132
Jr. Member
Posts: 52
Karma: 1
Re: "Set Priority" to a specific LAN rule
«
Reply #3 on:
October 25, 2023, 07:50:54 pm »
Adding - an Atachment
If i get it right, i have to reduce the weight of the actall queue to "70" and create a new one with the weight "90".
Then i have to go to "Rules" and create a new Ruleset
Like show in the Attachment "2023-10-25... Shaper Firewall".
But but should i choose "upload or download" ? I think upload ?
«
Last Edit: October 25, 2023, 08:00:45 pm by Mayo132
»
Logged
Seimus
Hero Member
Posts: 608
Karma: 59
Re: "Set Priority" to a specific LAN rule
«
Reply #4 on:
October 26, 2023, 10:32:21 am »
To your question, you use both, VOICE is bidirectional traffic. Video depending if you stream as well or not is Multicast based so unidirectional, ether you are the receiver or sender. From the issue describe the problem occurs during download so download is the problem here however you should do it for both direction.
Another and more important thing, if you are using FQ_CODEL then you can not use Weighted queues, FQ_CODEL doesn't use that. So if you want to use FQ_Codel you need to create separate pipes for each service. Or dont use FQ_Codel if you want to have only one pipe and use Weighted queues
https://forum.opnsense.org/index.php?topic=6748.0
https://forum.opnsense.org/index.php?topic=36410.0
The link that CJ provided there you can see examples of BW reservation for VOICE, you can do same for VIDEO
https://docs.opnsense.org/manual/how-tos/shaper_dedicated_bw.html
Regards,
S.
Logged
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
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
"Set Priority" to a specific LAN rule