On 21/08/2013 12:51 a.m., Alfredo Rezinovsky wrote:
> With tproxy squid uses the original source IP address as source IP for
> the request
>
> There's a way to force the use of the original server destination IP
> instead of using a DNS query?
This is the default for intercepted traffic in Squid-3.2 and later. You
should see ORIGINAL_DST in your access.log already. If not ensure that
you have "client_dst_passthru on" (or missing) from your squid.conf.
You can also build your proxy with CXXFLAGS="-DSTRICT_ORIGINAL_DST=1" to
force the behaviour and disable cache_peer usage on intercepted traffic.
Amos
Received on Wed Aug 21 2013 - 08:36:09 MDT
This archive was generated by hypermail 2.2.0 : Wed Aug 21 2013 - 12:00:43 MDT