Best way to put a quota on masquaraded connections.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 21 November 2002 06:49 pm, Rowan Reid wrote:
> I have a linux Firewall, with about 20 Masq clients. I'm noticing that
> between streaming audio/video and ftp downloads users are maxing out th=
e
> connection 500K T1. I would like to put a 128K limit per connection (
> I'm assuming only 4 concorrent connections) with a total of 10
> connections at a time. To add to that list I'm also hosting a website
> for which I would like to reserve 128K. So in short I would like to 1.)
> prioritize my connections a.webserver b. e-mail trnasmitions
> c.web/ftp/streaming
> How do I even start .

http://www.linuxguruz.org/iptables/howto/2.4routing.html might be a good=20
start, the Linux 2.4 Advanced Routing HowTo.  It explains different queui=
ng=20
approaches available, and creation of routing rules with iproute2.  (amon=
g=20
other things)  You can use iptables to add mangle-prerouting rules that s=
et=20
TOS for various packet types/sources/destinations, then use some routing=20
rules and a queuing discipline to prioritize and/or limit them.

j




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux