|
http proxy & bandwidth limiting
Hi,
I've got a simple network - linux box is connected to the Internet via ppp0 and to LAN via eth0. A HTB qdisc is attached to eth0 so I can do some bandwidth limiting. I want to setup a HTTP proxy on my linux box but there's a problem: LAN boxes should be able to talk to the proxy at full speed (100Mb/s) but the Internet link should be divided among them with HTB. How do I do it? In this scenario the proxy itself downloads the web pages not the LAN hosts, so the HTB qdisc attached to eth0 has nothing to do with it. If I attached a qdisc to ppp0 it also won't do 'cause all incoming data will have destination IPs of the proxy, so the qdisc won't know which LAN host requested it.
|