[ previous ] [ next ] [ threads ]
 
 From:  "Bryan K. Brayton" <bryan at sonicburst dot net>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] How to setup m0n0wall traffic shaper
 Date:  Sat, 20 Aug 2005 12:28:32 -0400
This is pretty easy to do.  I do a similar thing.  To set a max amount
of download bandwidth per ip address:

1.  Create a pipe with the amount of bandwidth you'd like each user to
have, ie: 10k if that's what you'd like.  Set the mask to be
destination.

2.  Create a traffic shaper rule on your LAN interface and set the
target  to the pipe you just created.  

On this rule set: 
Protocol to any
Source to any
Source port range to any
Destination to any
Destination port range to any
Direction to out
IP type of service to don't care for everything
TCP flags to don't care for everything

Then, save the rule and apply the changes.


To limit outband bandwidth per ip, create another pipe with a mask of
source.  Then create another rule that uses this new pipe as a target.
This new shaper rule will be exactly the same as the rule above except
direction must be set to "in".

Hope that helps.

-Bryan
 

-----Original Message-----
From: news [mailto:news at sea dot gmane dot org] On Behalf Of marten
Sent: Saturday, August 20, 2005 10:23 AM
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] How to setup m0n0wall traffic shaper

Hi All ,

First sorry .
I am a chinese people.
I am come from Taiwan.
My english not good.

How to setup m0n0wall traffic shaper then it will let every ip address
can 
use equal bandwithd only.

For example : total bandwithd 100Kb , 10 ip address , every ip
distribute 
10Kb
Althought there is only one ip address use it's bandwithd, it only get
10Kb.

Thanks very very much. 




---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch