Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
Traffic Shaper - Queues and Rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Traffic Shaper - Queues and Rules (Read 23832 times)
remonboonstra
Newbie
Posts: 16
Karma: 3
Traffic Shaper - Queues and Rules
«
on:
June 17, 2015, 04:38:53 pm »
Hi,
is there a good hint on getting the following done in the Traffic Shaper (I expect with queues and rules hence the title).
LAN: 20 users (allowed only 2Mbit down / 300Kbit up)
WAN: 2 x 8Mbit / 1Mbit (should be equally spread across 50 users)
Currently on another thread trying to get the first part working, now I'm looking to get the second part working also.
Meaning: if 8 users are downloading at 2Mbit, the nineth user should still get 1.77Mbit (16/9). The other should also go down to 1.77Mbit.
Result everybody has internet always, but never more than 2Mbit down. At busy moment the speed might go down.
Thank you for any of the hints you might give me!
Remon
Logged
jschellevis
Administrator
Full Member
Posts: 156
Karma: 37
Re: Traffic Shaper - Queues and Rules
«
Reply #1 on:
June 17, 2015, 05:21:06 pm »
Alow me to explain that for a simple single WAN solution and one pipe of 10Mbps both directions (already made screenshots with those settings..).
You can create 2 pipes and 2 rules as you already know how that works..
Goal:
Each user will get a maximum download of 10Mbps, shared equally.
STEP 1
Create a pipe:
Set it to 10 Mbit/s
And a Mask on destination (this will share on the destination/wan)
Save
STEP 2
Create a rule:
Interface = WAN
Interface 2 = LAN
target = pipe_10Mb_mask_destination
Save
STEP 3
Apply
That is all.. the only key part is mask on destination.
«
Last Edit: June 17, 2015, 05:23:21 pm by jschellevis
»
Logged
remonboonstra
Newbie
Posts: 16
Karma: 3
Re: Traffic Shaper - Queues and Rules
«
Reply #2 on:
June 17, 2015, 08:09:00 pm »
J,
Thank you for your reply, I've set it up as you said.
I let the other 2 rules there, it seems it never reaches the new rules when testing.
I want to max the connection to 2Mbit/300kbit: this works with the first 2 rules.
The 3rd and 4th rule don't get applied as far as I can see now.
I need a combination of rule 1,2 and 3 to get what I would like, am I correct?
Screenshots are attached,
Thanks,
Remon
Logged
jschellevis
Administrator
Full Member
Posts: 156
Karma: 37
Re: Traffic Shaper - Queues and Rules
«
Reply #3 on:
June 22, 2015, 05:53:34 pm »
The issue with traffic shaping on the wan side has been found and fixed.
If you want to try, install the new kernel:
from the cli invoke:
Code:
[Select]
opnsense-update -kr 15.1.12_dummynet
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
Traffic Shaper - Queues and Rules