OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: gertfriend on February 23, 2017, 04:56:20 pm

Title: Guestnet with 2 Trafficshaping rules
Post by: gertfriend on February 23, 2017, 04:56:20 pm
Hi,

first of all i will thank the developer Team of OPNsense for the great work they do.

Now my Problem with Trafficshaping

I have a syncron Internetconnection with 100Mbit Up- and Download

Now i Need to configure a guestnet where i need to set a global Limit for Up- and Download with 90Mbit

and

Limit per user with 3Mbit Up- and Download.

I configured a pipe with a Limit of 3Mbit and as mask Source and a pipe with a Limit of 90Mbit and as mask Destination but in the rules i can assign only 1 pipe.

Must i configure 2 rules, one for each pipe or will there be used the first rule found and all other ignored?

Thanks for helping me.
Title: Re: Guestnet with 2 Trafficshaping rules
Post by: gertfriend on March 06, 2017, 09:57:23 pm
Nobody?
Title: Re: Guestnet with 2 Trafficshaping rules
Post by: djGrrr on March 07, 2017, 12:55:59 am
You will definitely need a rule for each pipe. Also, make sure that the "more specific" rule is higher on the list (lower rule #).

If you want the 90mbit and 3mbit options for both upload and download, you will need 4 pipes, and 4 rules., otherwise it will not do what you expect. You will need to specify the direction in the rules in order to apply the traffic shaping correctly.

You can also use multiple rules with the same pipe, the pipe speed is the aggregate limit of all data going through the pipe, not per rule.

There is also Queues, which allow you to do sub-priorities within a specific pipe, and you use the queue in the rule, instead of the pipe to apply it.