Skip to content

access_restriction.prefer_x_forwarded_for

Configures whether the content of an X-Forwarded-For header is preferred to the apparent remote address.

Type: Boolean

Can be set in: profile.cfg, collection.cfg

Details

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

See also

top

Funnelback logo
v15.12.0