Fwd: [LARTC] Priotirize SSH Traffic

Vincent Dautremont vdautrem at ulb.ac.be
Thu Aug 30 16:59:56 CEST 2007


oops, i forgot to reply to the list :-/

Début du message réexpédié :

> De : Vincent Dautremont <vdautrem at ulb.ac.be>
> Date : 30 août 2007 16:58:26 GMT+02:00
> À : Ali Jawad <alijawad1 at gmail.com>
> Objet : Rép : [LARTC] Priotirize SSH Traffic
>
> try that
> #tc qdisc add dev eth0 root handle1: prio
> # tc filter add dev eth0 protocol ip parent 1: prio 1 u32 match ip  
> dport 22 0xffff flowid 1:1
> # tc filter add dev eth0 protocol ip parent 1: prio 2 u32 match u32  
> 0 0 flowid 1:2
> 1st command create a queuing discipling with a priority queuing.
> 2nd command, say to give first priority to packets that have  
> destination port number 22 (standard ssh port).
> 3rd command, say to default traffic to have priority number 2.
>
> you should just have to change eth0 if you are using another  
> netword device, but you should already know that.
> Vincent.
>
> Le 30 août 07 à 16:45, Ali Jawad a écrit :
>
>> Hi All
>> I am currently learning traffic shapping and I need a script that  
>> does prioritize SSH traffic on my debian router.
>>
>> My Internet interface is eth1
>> My Lan interface is eth0
>>
>> My Internet connection is 256 kbit/s down and 128 kbit per second up.
>>
>> I hope someone does have  a well documented (or maybe not so  
>> documented) example on which I can build further rules as needed.
>>
>> Thx All.
>> _______________________________________________
>> LARTC mailing list
>> LARTC at mailman.ds9a.nl
>> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070830/a57dde00/attachment.html


More information about the LARTC mailing list