How To Overwrite X-forwarded-for Header In Oracle Traffic Director? (Doc ID 2156043.1)

Last updated on JUNE 20, 2017

Applies to:

Oracle Traffic Director - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Goal

Procedure to configure OTD to overwrite the "X-Forwarded-For" header having only Client IP.

 

Example request flow is:

Client -> LB -> OTD -> Origin Server/Weblogic (OSB)

If the incoming request to OTD has "X-Forward-Header (XFF)" with a client JIP and when XFF is enabled in OTD, by default OTD will modify the header and send two IPs to the Origin Server having the Client IP and OTD IP

X-Forwared-For : <Client_IP>,<OTD_IP>

However having XFF disabled in OTD, the header does not get passed to Origin Server.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms