Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Need Suggestions] Bandwidth shaping + proxy server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Parasietje
Apprentice
Apprentice


Joined: 25 Jan 2004
Posts: 194

PostPosted: Sat Dec 18, 2004 10:29 am    Post subject: [Need Suggestions] Bandwidth shaping + proxy server Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum