Displaying 1 result from an estimated 1 matches for "iptop".
Did you mean:
ipcop
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
...shaping to eth0
#
# chkconfig: 2345 86 14
# description: Add traffic shaping to eth0
#
# processname: none
WAN=br0 # external interface
LAN=eth1 # internal interface
TC=/usr/local/tc
CMD="$1"
if [ "$CMD" == "stop" ]
then
TCOP="del"
IPTOP="-D"
#iptables -t mangle -D POSTROUTING -o $WAN -j MYSHAPER-OUT 2>
/dev/null > /dev/null
#iptables -t mangle -F MYSHAPER-OUT 2> /dev/null > /dev/null
#iptables -t mangle -X MYSHAPER-OUT 2> /dev/null > /dev/null
$TC qdisc del dev ${WAN} root ha...