I'm reading over the recent thread about "limiting bandwidth dynamically" and although its a bit more convoluted that what I am aiming to do, it seems similar to the question I have had concerning iptables. This month's SysAdmin mag has an article on limiting bandwidth from a source machine in order to pull the reigns on multi-media content from hogging all of your upstream availability. The article says "this can be done with iptables", but never offers any examples of how. Instead it focuses on other products, some of which were mentioned in Tomasz Wrona's recent post (CBQ HTB).
So, to cut myself short, my aim is simply to limit bandwdith per some criteria (port, ip address, etc...) I'd like to be able to say "this ip address outbound with source port of 7070 is limited to 256k". I get how to match the ip and port, but the bandwidth limitation is the confusing part for me (i'm coming from strictly ipchains background). I'd also like to run this local to the machine itself, meaning that address in my chain would be bound to a local interface to the machine running iptables. Is this configurable using LIMIT? Point me in the right direction, and I will hit the docs. Regards -c
