search for: p2p_ip

Displaying 1 result from an estimated 1 matches for "p2p_ip".

Did you mean: p2p_
2007 Jul 09
1
Help with traffic control (HTB ESFQ RED)
...1500 ### iptables mangle table cleanup ### iptables -t mangle -F iptables -t mangle -X ## ROOT QDISC cleanup in $DEV tc qdisc del dev $DEV root 2> /dev/null > /dev/null tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null #tc qdisc del dev $HDEV root 2> /dev/null > /dev/null P2P_IP=192.168.0.100 SSH_PORT=9000 ### CLASSES ### SSH=1:10 P2P=1:20 DEF=1:30 HTTP=1:40 iptables -t mangle -A POSTROUTING -s $P2P_IP -o $DEV -j CLASSIFY --set-class $P2P iptables -t mangle -A OUTPUT -o $DEV -p tcp --sport $SSH_PORT -j MARK --set-mark 1 iptables -t mangle -A POSTROUTING -o $DEV -s ! $P...