Web parameter: xff.trusted.proxies

Web parameters change the behavior of the web clients that connect to the web tier. For more information, see Web tier parameters.

Parameter

xff.trusted.proxies

Description

You can add your trusted proxy IPs (separated by comma) in the xff.trusted.proxies parameter.

If the value in xff.trusted.proxies is not empty and the X-Forwarded-For header in the request is not empty, the X-Forwarded-For header will be searched to find the original end user IP, removing the matched trusted proxies. Then, the system can store the original end user IP instead of the proxy IP in the syslog table when you use proxies or have a load balancer environment.

​For example, with the following configuration, the value "192.168.2.2, 192.168.0.10" in the X-Forwarded-For header returns the end user IP as "192.168.2.2".

xff.trusted.proxies=192.168.3.3,192.168.0.10

Valid if set from

Web tier configuration file (webtier.properties)

Requires restart of the web applications server?

Yes

Default value

Empty

Possible values

IP addresses (separated by comma)

Example usage

xff.trusted.proxies=192.168.3.3,192.168.0.10

Related topics

System parameters
Web tier parameters
Enter a parameter in the web client URL
Enter a parameter in the web.xml file
Client parameters for web clients