[tproxy] Tproxy, SQUID, NAT and IMQ on same box ?
Ming-Ching Tiew
mingching.tiew at redtone.com
Mon May 5 10:32:11 CEST 2008
NTPT wrote:
>
> I need to preserve original source addrss of customers for traffic
> shaping only.
>
Still, you ***DON'T NEED*** tproxy.
Assuming you have a box with two ethernets, eth0 and eth1.
eth0 is facing the customer's LAN, and eth1 is facing the internet.
You can shape the traffic at eth0, it is the place where you have
original identity of the traffic.
You would use eth0 to shape download traffic, this will be the
primary concern for most internet connections.
If you like, you can use imq to shape upload traffic at eth0.
But you could use the delay_pool capability in squid to control the
traffic.
Cheers.
More information about the tproxy
mailing list