On Thu, 18 Dec 2003, Petre Bandac wrote:

> I make a request, and tcpdump shows the following thing: packets go from 
> client to 5.6.7.8:3128, but there they go on the internet via 1.2.3.4 (ie I 
> access google.com, and tcpdump shows 2 pieces of the traffic - 1 
> host-squid_IP, then address - 1.2.3.4)

See tcp_outgoing_address

This makes sense due to Squid being a proxy. When forwarding a request it 
opens a new TCP connection to the requested server and unless you have 
told Squid otherwise it will let the OS choose the most appropriate source 
address to use.

This is also what most people want.

Regards
Henrik

Reply via email to