[squid-users] follow_x_forwarded_for to get client ip instead of sibling proxy

robert k Wild robertkwild at gmail.com
Thu Jan 16 14:59:06 UTC 2020


hi all,

i have two proxies (one sibling going to a parent)

when i look at the parent proxy access logs, it just logs the ip address of
the sibling proxy

if i add the lines below in my sibling proxy

acl localhost src 127.0.0.1
acl my_other_proxy srcdomain .proxy.example.com
follow_x_forwarded_for allow localhost
follow_x_forwarded_for allow my_other_proxy

when i next look at the logs, will it show the ip of my clients?

thanks,
rob

-- 
Regards,

Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200116/5b85e82f/attachment.html>


More information about the squid-users mailing list