5 May
2008
5 May
'08
9:32 a.m.
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.