I configured a small factor PC to run as my gateway/file server/backup server/etc for my apartment. I want to implement QoS based on source IP address to prevent my roommates from bogging down my connection. What would be the best way to go about it?

I already use iptable for my NAT routing and my firewall. Seems like the mangle table is exactly what I'm looking for but--from what I've read--it's not that simple.

Some tips and/or articles would certainly help. I'm ready to dedicate some time into this after I was force disconnected from my Starcraft 2 game because of lag caused by my roommates watching Netflix HD and Hulu.

closed as off topic by Zypher Jan 20 '12 at 17:51

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.


Use tc(traffic control), for more information read this questions: How can I do traffic shaping in Linux by IP?.

tldp: http://tldp.org/HOWTO/Traffic-Control-HOWTO/index.html lartc: http://lartc.org/

Not the answer you're looking for? Browse other questions tagged or ask your own question.