On 18/12/2013 1:13 a.m., 0bj3ct wrote: > Hello. > > Am using Squid in transparent mode. How can I get request header > x-forwarded-for from client using squid? > The header is optional, you can only get it from the client if it is sent by the client. To pass it through Squid you will need to set the forwarded_for directive to one of: on, off, transparent http://www.squid-cache.org/Doc/config/forwarded_for/ Note that the default is "on". So unless you broken something your Squid will be relaying it already. Amos