Traffic shaping using iptables and tc

from blog Willem's Blog, | ↗ original
This month I responded to an automated alert indicating excessive bandwidth usage on a server, requiring me to apply traffic shaping to mitigate the traffic.