ADSL Bandwidth Management HOW-TO need help

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
Who is Participating?
I think the script in
seems complete. However, you need to modify the value of "RATEUP" and "RATEDN" to fit your own need.


   The ip_forwarding, you need the "routed" running to make the Linux box as router.
Please install "routed" from RedHat 9 CD.

   Besides, please provide the link to "ADSL Bandwidth Management HOW-TO" so people can easier locate it and discuss on the same page.


bringmetoyourworldAuthor Commented:
bringmetoyourworldAuthor Commented:
Better follow this link,it is script that i am talking about.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.