Parasietje Apprentice
Joined: 25 Jan 2004 Posts: 194
|
Posted: Sat Dec 18, 2004 10:29 am Post subject: [Need Suggestions] Bandwidth shaping + proxy server |
|
|
Here's the situation:
I run a gateway wich uses MASQUERADING to provide internet access to my local LAN. The gateway runs squid, a transparent proxy. I use iptables to redirect http requests from the local LAN to the local squid server.
Now, I want to limit the bandwith that squid gets to _download_ web pages. In the HOWTO: Bandwith limiting guide, they state it is very hard to limit download traffic. Limiting download traffic works without a proxy server, I limit OUTGOING traffic on eth0 for this.
Now, to limit squid traffic, I would implement usermode linux. That way, squid runs on a different IP, needs to go past NAT and it's download bandwith can be limited.
I was wondering if there are better solutions to do this. Maybe there are bandwidth limiting modules/extensions for squid. Maybe I can force squid to go past NAT. I need help!
Edit:
Fixed. I used Delay_pools from squid to do this. |
|