MagicFr wrote:
> hi,
>
> i try to read howto's and other papers about QoS with Linux... i must
> say i understood a little how stuff works, but i cant figure out, how to
> make a very simple script.
>
> From what i read, i only need to change the TOS headers.
>
port 27000:27030 is port used for Counter Strike
port 4662 is used by 'emule'
Seems that it's not working, when i play CS i have 10ms of ping.
If i launch emule , my ping drop beetween 50 to 120 ms.
If i understood correclty the TOS thing, i should not see any diffrence
because emule packet should always wait for other packet to have acces
to internet before them.
CS and emule are running from windows connected to linux gateway by
ethernet card, internet connection is by ethernet too.
ISP
www.free.fr Freebox fastpath activated.
My mangle configuration.
*mangle
:PREROUTING ACCEPT [58750:53452959]
:INPUT ACCEPT [57439:53485156]
:FORWARD ACCEPT [4668:345779]
:OUTPUT ACCEPT [41183:5423214]
:POSTROUTING ACCEPT [48551:5947829]
-A PREROUTING -p tcp --sport 27000:27030 -j TOS --set-tos Minimize-Delay
-A PREROUTING -p tcp --dport 27000:27030 -j TOS --set-tos Minimize-Delay
-A PREROUTING -p tcp --dport 4662 -j TOS --set-tos Maximize-Throughput
-A PREROUTING -p udp --dport 4662 -j TOS --set-tos Maximize-Throughput
-A PREROUTING -p tcp --sport 4662 -j TOS --set-tos Maximize-Throughput
-A PREROUTING -p udp --sport 4662 -j TOS --set-tos Maximize-Throughput
-A OUTPUT -p tcp --sport 27000:27030 -j TOS --set-tos Minimize-Delay
-A OUTPUT -p tcp --dport 27000:27030 -j TOS --set-tos Minimize-Delay
-A OUTPUT -p tcp --dport 4662 -j TOS --set-tos Maximize-Throughput
-A OUTPUT -p udp --dport 4662 -j TOS --set-tos Maximize-Throughput
-A OUTPUT -p tcp --sport 4662 -j TOS --set-tos Maximize-Throughput
-A OUTPUT -p udp --sport 4662 -j TOS --set-tos Maximize-Throughput
regards,
Seb