Hi; I would like to have Fortigate insert an X-Forwarded-For header by using the "Preserve Client IP" option available with a load balancing virtual server. My question is: If there is an upstream device that inserted the XFF header before the Fortigate, does the fortigate add a second value to the first. So:
X-Forwarded-For: value1 inserted by upstream device, value2 inserted by Fortigate
Or does it add a second occurance of the XFF header, like:
X-Forwarded-For: value1 by upstream device
X-Forwarded-For: value2 by Fortigate Kindly Wasfi
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
I believe it's appends to the existing XFF not add 2 XFF headers. if you add 2 XFF headers line I seen strage things where only the last one is picked up or something like that.
So it should looked like "X-Forwarded-For: x.x.x.x, y.y.y.y"
Ken Felix
PCNSE
NSE
StrongSwan
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1536 | |
1029 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.