What interfaces are you using?  Specifically, are your clients all on
seperate ppp interfaces or conglomerated "downstream" from shorewall
and presented as a single ethernet (or something) to that machine?

Generally speaking, I think the way to go about this is set up
/etc/shorewall/tcdevices:
INTERFACE    IN-BANDWITH      OUT-BANDWIDTH
for each interface (e.g. ppp0 53kbit 48kbit);
set up /etc/shorewall/tcclasses:
#INTERFACE      MARK    RATE            CEIL        PRIORITY    OPTIONS
with a bunch of rules like:
pppN 11 full/4 full 1 tcp-ack,tos-minimize-delay
pppN 12 full/8 full 2 default
and then set up /etc/shorewall/tcrules with appropriate markings.
Mark connections that get high priority (in this example) 11 and
everything else 12.  You can add more classes if you find that people
are running filesharing or whatnot and clogging the pipes, and add a
third rule for each client-bound interface for low-priority traffic.

Hope that helps (and that I've got my facts straight!)
Will

On 10/10/06, Pop Gheorghe Andrei <[EMAIL PROTECTED]> wrote:
> Hello.
>
>   I am searching for somebody who can help me out with a relatively simple 
> traffic shaping setup in shorewall. I have 1 IP and a 64 subnet routed with 
> that IP.
>   It will be used by a verry small ISP ofering last mile solutions (I 
> curently have 7 clients, home users, each paying $10; will have maximum 30 
> clients by Cristmans).
>   What I need is trafic to be prioritised(ping, messenger - 1st, ftp, 
> http-2nd, 3rd and 4th other trafic), and the posibility to set a garanteed 
> speed per each client, and a maximum trafic for each client.
>
>  I belive it should not involve much time for somebody who has already done 
> something like this. Please note I am not requesting this help for "free", I 
> will either pay a fee, or make a tutorial availible for shorewall users, or 
> even both.
>
>  Best regards from Romania, Andrew Pop.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Shorewall-users mailing list
> Shorewall-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to