Hello, By your signature, I suppose you read french. Then, maybe you will find some useful information in the doc I wrote a few months ago : http://wiki.linuxwall.info/doku.php?id=ressources:dossiers:advanced_networking:2_qos_traffic_control Hope it helps... Julien On Tue, 21 Apr 2009 11:50:05 +0300, "Mihamina Rakotomandimby (R12y)" <mihamina@xxxxxxxxxxxxxxx> wrote: > Hi all, > I have a gateway on which I would like to implement traffic shapping based > only on ports. > The simple schema: > > 15-PCs-LAN <-> (eth0)[Gateway](eth1) <-> Internet > > The gateway is also my workstation and it holds many services accessibles > from the LAN and from Internet. > > The problem is HTTP traffic is so much that SSH connection to the remote > servers I manage are slow. > > Therefore, I would like to give: > - highest priority to SSH (INPUT/OUTPUT/FORWARD dport 22) > - normal priority to others (INPUT/OUTPUT/FORWARD dport:FTP, SVN,...) > - lowest priority to HTTP > (dport 80 REDIRECTed INPUT on squid's 3128, OUTPUT dport 80) > > The perfect would be to shape it on the OUTPUT chain, because I would like > also the shape affects my (Gateway) behaviour. > > I am not asking for the direct solution, I am first asking if what I want: > - is a good idea > - implementable > - is documented in another place than lartc.org > (which is good but too much big for my simple needs) > > Thank you for any tips. -- julien http://jve.linuxwall.info/blog -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html