iptables -A PREROUTING -t mangle -p tcp —sport 0:1024 -j TOS —set-tos Minimize-Delay iptables -A PREROUTING -t mangle -p tcp —sport 1025:65535 -j TOS —set-tos Maximize-Throughput iptables -A OUTPUT -t mangle -p tcp —dport 0:1024 -j TOS —set-tos Minimize-Delay iptables -A OUTPUT -t mangle -p tcp —dport 1025:65535 -j TOS —set-tos Maximize-Throughput