Page 1 of 1

limit speed on ports

Posted: January 15th, 2009, 9:37 am
by rascalli
this is not SAB related but Linux related.

I know that you can set the download speed in sab
how is this done ?

As I would like to set max speed on some outgoing ports on my linux machine.
And was wondering if that could be done the same way as sab does.
Or if I need to do something else.

Re: limit speed on ports

Posted: January 15th, 2009, 1:17 pm
by inpheaux
I've looked into this before, and there isn't really a nice straightforward option like Netlimiter on Windows. As best I understand it, you have to use tc and iptables to find the stuff on the port you want to throttle, and then apply a priority to them. It's pretty convoluted.

I don't really have a specific example, but try googling around for stuff like iptables tc and iptables qos.