is a very easy to use bandwidth shaping tool. It allows to limit bandwith on a desired networking interface.
Download page: http://lartc.org/wondershaper/
To use wshaper, download the most recent version (e.g. 1.1a), untar and edit the file wshaper
. The following is an example configuration to limit bandwidth going through port 22 (ssh):
# low priority source netmasks
# low priority destination netmasks
# low priority source ports
# low priority destination ports
# Now remove the following two lines :-)
#echo Please read the documentation in 'README' first :-)
First you set your speed limit for the interface (DEV). Then some information on which port to limit and what netmask. In the end, comment the 2 lines where it says: "Now remove the following two lines" in order for the program to work.
This has been tested on openSUSE 11.1 but wshaper should be included in debian sitributions as well.