LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Iptables Bandwith Limit (https://www.linuxquestions.org/questions/linux-networking-3/iptables-bandwith-limit-163201/)

av0 03-27-2004 08:30 PM

Iptables Bandwith Limit
 
Hey all, I route a broadband line throughout my house. My sister is a WinMX and VoiceChat fan and she eats up my limited upload that my game server requires. Is there a comand in Iptables to set a given IP with a bandwith limit? :Pengy:

leckie 03-28-2004 04:49 AM

yeah but it is a real pain to use and it will kill your sisters chat, better off getting over the gaming thing and do something more constructive life open source development.

Oliv' 03-28-2004 06:31 AM

have a look at this site ... It uses QoS via HTB, and it's quite easy to configure. You just need to have iproute2 and tc install on your system :)

Oliv'

av0 03-28-2004 08:42 PM

eh that links broken and im a newbie whats QoS

Oliv' 03-29-2004 06:36 AM

Hi,
Yes the link seems to be broken for the moment :( but I assume that's the good site...
So QoS means Quality of Service and is used to differentiate service. For example FTP is a service which takes the max bandwidth it can, so thanks QoS you can tell that FTP will be allowed to only use 50Kb/s instead of 512Kb/s... You can also do such things based on IP instead of ports ;)
If HTB projects is still dead on sourceforge, have a look at CBQ (https://sourceforge.net/projects/cbqinit )... it's the same philosophy. But it's based on another algorithm, less precise with rate and so less efficient with high rate;)

Oliv'


All times are GMT -5. The time now is 09:42 AM.