Hi I,m using squid-2.5 as transperant proxy .Kernel 2.4.18-3,Redhat 7.3 Setup:
Client ------------>L4 Switch--------> Squid ------> internet Squid -- 3128 IPtables implemented on Squid box to redirect port 80 request to 3128,squid receives and send to internet .All the Client IP's are valid public IPS Query 1: The IP thats going from squid to internet is the Squids IP.I need the Actual client IP gets logged in the remote Web server thats going thru Squid .Is this possible ? I flushed Iptables and configured the client directly to contact squid .The squid IP is the one geting logged in the remote webserver. I have pasted my config file squid.conf.Any suggestions /solutions ? Thnks in advance cat squid.conf http_port 3128 visible_hostname sfsproxy-mum.sify.net hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 acl all src 0.0.0.0/0.0.0.0 acl localhost src 127.0.0.1/255.255.255.255 acl OURIP src 210.210.0.0/17 202.144.0.0/17 http_access allow OURIP http_reply_access allow all icp_access allow all httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on coredump_dir /usr/local/squid/var/cache Rgds Azad
