ADSL Bandwidth Management HOW-TO need help
Posted on 2004-10-25
Refer to ADSL Bandwidth Management HOW-TO. There are example script for inbound and outbound shaping. My question are
1 how to use it.
2 Is that complete script ? Do I need to add any command to make use ?
3 Do I need to add "nat" ?
My network is standard ,20 windows client ,1 ADSL Modem, 1 PC running RH9 for router.
I want to share internet to 20 client by using RH box running HTB+IMQ to manage bandwidth.
Previously use RH9 running IPtables command without HTB and IMQ with these script :
Assuming eth1 is connected to WAN, eth0 to LAN
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.1.2