BWShape - Linux bandwidth shaper front-end

BWShape (BandWidth Shaper)

Pejman Moghadam (pmoghadam[at]yahoo[dot]com)
Last update: 2008-11-05

  1. What is BWShape ?
  2. Where to get it ?
  3. How to install it ?
  4. How to use it ?

What is BWShape ?

BWShape is a simple ncurses-base front-end for linux tc (traffic control) using HTB (Hierarchical Token Bucket).
It is released under GPLv3(GNU General Public License).

GPLv3

Where to get it ?

Latest version download : bwshape-0.3.tar.gz

How to install it ?

Prerequisites :

iptables: http://www.netfilter.org/
htb tc: http://luxik.cdi.cz/~devik/qos/htb/
cdialog: http://invisible-island.net/dialog/

Installation progress for Slackware :

tar zxf bwshape-0.3.tar.gz
cd bwshape-0.3
cp bwshape /usr/local/sbin/
chmod +x  /usr/local/sbin/bwshape
cp rc.bwshape /etc/rc.d/
chmod +x /etc/rc.d/rc.bwshape
cat >> /etc/rc.d/rc.local <<EOF
if [ -x /etc/rc.d/rc.bwshape ]; then
  /etc/rc.d/rc.bwshape start
fi
EOF

Edit /etc/rc.d/rc.bwshape and change interface names as appropriate to your network:

# General settings
userside="eth1"
inetside="eth0"

How to use it ?

Just run bwshape and enjoy the ride ;-) and please DO NOT forget to post any feature requests or bug reports to me (pmoghadam[at]yahoo[dot]com).


Proudly designed by Vim Creative Commons License Markdown Viewable With Any Browser Valid HTML 4.01 Transitional Valid CSS!