access_restriction.prefer_x_forwarded_for
Configures whether the content of an X-Forwarded-For header is preferred to the apparent remote address.
Key: access_restriction.prefer_x_forwarded_for
Type: Boolean
Can be set in: profile.cfg, collection.cfg
Description
Is used to determine if the last IP address in the X-Forwarded-For header should be used as the IP address when checking access restrictions. If the X-Forwarded-For header is empty, the connecting IP address will be used.
Default Value
access_restriction.prefer_x_forwarded_for=false
Examples
If you have all requests going via a reverse proxy last IP address in the X-Forwarded-For header that Funnelback will see, will be the IP address that made the connection to the reverse proxy. In this case you would want to use the last IP address in the X-Forwarded-For header
access_restriction.prefer_x_forwarded_for=true