Sorin Panca wrote:
Brent Clark wrote:
HI all
I just came across one of the threads on the LARTC.
In the thread it had this.
So my question is, for the following rules, would these increase my
browsing / traffic, and if so, how.
Small packets and control pachets should have priority because they
carry intrractive traffic.
...
Where are https, irc, messengers... ?
No Sure, this is how I saw / got it.
Hi Sorin
I have added / change the rules to this (was --sport, I made mine --dport).
$IPT -t mangle -A PREROUTING -p tcp -m tcp --tcp-flags SYN,RST,ACK ACK -m length --length 0:128 -j TOS --set-tos Minimize-Delay
$IPT -t mangle -A PREROUTING -p tcp -m tcp --tcp-flags SYN,RST,ACK ACK -m length --length 128: -j TOS --set-tos Maximize-Throughput
$IPT -t mangle -A PREROUTING -p tcp -m tcp --dport 20 -j TOS --set-tos Maximize-Throughput
$IPT -t mangle -A PREROUTING -p tcp -m tcp --dport 21 -j TOS --set-tos Minimize-Delay
$IPT -t mangle -A PREROUTING -p tcp -m tcp --dport 22 -j TOS --set-tos Minimize-Delay
$IPT -t mangle -A PREROUTING -p udp -m udp --dport 53 -j TOS --set-tos Maximize-Throughput
$IPT -t mangle -A PREROUTING -p tcp -m tcp --dport 80 -j TOS --set-tos Maximize-Throughput
$IPT -t mangle -A PREROUTING -p tcp -m tcp --dport 443 -j TOS --set-tos Maximize-Throughput
$IPT -t mangle -A PREROUTING -p udp -m udp --dport 123 -j TOS --set-tos Minimize-Delay
Out of interest, Can I use this on the FORWARD.
If so, would it be best in the PREROUTING, or the FORWARD.
Baring in mind that this is for a natting FW.
I have a private LAN, behind the FW, I basically would likes to try and speed things up for my users.
Thanks again for replying, I really appreciate this.
Kind Regards
Brent Clark