forwarded_for

forwarded_for

Squid appends an item to the X-Forwarded-For header in requests sent to origin servers and neighbors. When this directive is enabled, Squid places the client's IP address there. When it is disabled, Squid prints the word unknown instead. Thus, disabling forwarded_for increases your user's privacy.

Syntax

forwarded_for on|off

Default

forwarded_for on

Example

forwarded_for off



    Appendix A. Config File Reference