|
|
|
@ -3,11 +3,11 @@ |
|
|
|
|
% Users can use c2s connections: |
|
|
|
|
{access, c2s, [{allow, all}]}. |
|
|
|
|
|
|
|
|
|
% Set shaper with name "normal" to limit traffic speed to 10000B/s |
|
|
|
|
{shaper, normal, {maxrate, 10000}}. |
|
|
|
|
% Set shaper with name "normal" to limit traffic speed to 1000000B/s |
|
|
|
|
{shaper, normal, {maxrate, 1000000}}. |
|
|
|
|
|
|
|
|
|
% Set shaper with name "fast" to limit traffic speed to 500000B/s |
|
|
|
|
{shaper, fast, {maxrate, 500000}}. |
|
|
|
|
% Set shaper with name "fast" to limit traffic speed to 10000000B/s |
|
|
|
|
{shaper, fast, {maxrate, 10000000}}. |
|
|
|
|
|
|
|
|
|
% For all users except admins used "normal" shaper |
|
|
|
|
{access, c2s_shaper, [{none, admin}, |
|
|
|
|