Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # http://blog.carlosgomez.net/2009/10/traffic-shaping-on-linux-ubuntu-or-red.html
- ***Install the HTB.init script
- wget http://downloads.sourceforge.net/project/htbinit/HTB.init/0.8.5/htb.init-v0.8.5?use_mirror=voxel
- cp htb.init-v0.8.5 /etc/init.d/htb.init
- ***Install the DAG::Tree perl library
- cpan -i Tree::DAG_Node or,
- apt-get install libtree-dagnode-perl
- ***Install the webmin module itself
- cd /usr/share/webmin
- wget http://sehier.fr/webmin-htb/webmin-htb.tar.gz
- tar -zxvf webmin-htb.tar.gz
- #This creates a "htb" directory with all needed files in it.
- Or,
- Go Webmin ---> Webmin Configuration --> Webmin Modules
- on Third Party Module : http://sehier.fr/webmin-htb/webmin-htb.tar.gz
- and Install it.
- ***Confirurate htb
- mkdir /etc/sysconfig/htb
- cp htb /etc/sysconfig/htb
- cd /etc/sysconfig/htb
- nano eth0
- DEFAULT=30
- R2Q=100
- nano eth0-2.root
- RATE=100Kbit
- *root class containing outgoing bandwidth
- /etc/init.d/htb.init start
- /etc/init.d/htb.init stats
Advertisement
Add Comment
Please, Sign In to add comment