Author Topic: Traffic shaping on Linux  (Read 3000 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Traffic shaping on Linux
« on: March 07, 2005, 02:12:32 pm »
I have partly wrote/partly stolen a little script that allows traffic shaping under Linux using iptables and tc.  It can be configured to limit bandwidth based on port.  I added it to my rc.inet1 script (and wrote a rc.shaping script) so it can easily be set up by added SHAPING="yes" to the rc.inet1.conf file for the interface.

My question is: does anybody else want to use this? I can post the script and detailed instructions if it'll help somebody out.  Just reply here saying you'd like to see it, and I'll clean it up a bit (get rid of stuff that can't run anymore) and post it here.