Skip to content

How to Send Client IP Information to Servers with XFF (X-Forwarded-For) Header Information?

About

What is XFF? (X-Forwarded-For)

When web servers are placed behind the TR7 Load Balancer, the servers' log files will display the TR7 SNAT IP address. The XFF (X-Forwarded-For) HTTP header is used to forward the client IP address to the servers. On TR7 ASP, sending the XFF header to the servers can be easily configured as shown in the following step.

Interface

XFF (X-Forwarded-For)

Step > 1

Open the editing screen for the relevant vService. In the Details tab, activate the "X-Forwarded-For" option.

Click the "Save" button to apply the changes.

LOGO

Control

Backend Services Log Check

When you check the traffic sent to the server from TR7, you will see that the actual client IP address is included in the X-Forwarded-For header sent by TR7.

LOGO