Name

forwarded_for

Synopsis

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

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.