Traffic Shaping Linux (restrict Bandwidth)

Allthough I haven’t found some shiny GUI somewhat like Netlimiter there is Wonder shaper (and shaper and trickle and squid for http and …) where a single command line sets your over-all bandwidth for network interface X. And, isn’t that all you really need?:

sudo wondershaper ethX downlink(kbit/s) uplink(kbit/s)

This is, from the perspective of the host doing the shaping. For example to set download to 10000kb (750*8 = 6000 DSL but don’t limit intranet connections on 1Mb Ethernet) but limit upload to, say, 35kB (~280kb) — e.g. if you have a server running on the same connection you do your daily internetting, you do:

sudo wondershaper eth0 10000 280

Ressources

Follow

Get every new post delivered to your Inbox.