Displaying 1 result from an estimated 1 matches for "lay7".
Did you mean:
lay
2005 Jul 06
8
HTB and bittorrent, won''t work
...key protocol I have no problem at all, traffic get shaped and I
can use the rest of my bandwidth, I''ll post my iptables rules for marking the
bittorrent packets and the htb rules I use (using tcng):
### IPTABLES RULES ###
iptables -t mangle -F
iptables -t mangle -X
iptables -t mangle -N lay7
iptables -t mangle -A POSTROUTING -j lay7
iptables -t mangle -A lay7 -m layer7 --l7proto bittorrent -j MARK --set-mark 1
iptables -t mangle -A lay7 -o eth1 -m mark --mark 1 -j CLASSIFY --set-class
2:2
iptables -t mangle -A lay7 -m layer7 --l7proto smtp -j MARK --set-mark 2
iptables -t mangle -A la...