squid : forwarded_for configuration directive
squid-
cache.org
Optimising Web Delivery
Docs
Donate
Support
About
Contact
Shop
Blog
Squid configuration directive forwarded_for
Available in:
v7
v6
v5
v4
3.5
3.4
3.3
3.2
2.7
3.1
3.0
2.6
This directive is not available in the v8 version of Squid.
For older versions than v5 see the linked pages above
Configuration Details:
Option Name:
forwarded_for
Replaces:
Requires:
Default Value:
forwarded_for on
Suggested Config:
If set to "on", Squid will append your client's IP address
in the HTTP requests it forwards. By default it looks like:
X-Forwarded-For: 192.1.2.3
If set to "off", it will appear as
X-Forwarded-For: unknown
If set to "transparent", Squid will not alter the
X-Forwarded-For header in any way.
If set to "delete", Squid will delete the entire
X-Forwarded-For header.
If set to "truncate", Squid will remove all existing
X-Forwarded-For entries, and place the client IP as the sole entry.
Back
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Free CSS Templates
Template customisation by
Alex Dawson
and
Adrian Chadd
Icons from
Silk
collection by Mark James of
famfamfam.com
All web content licensed under
Creative Commons Attribution Sharealike 2.5 License