Skip to Content
0
Sep 27, 2020 at 10:29 PM

How to remove actual client IP address from the request sent to Target end-point

169 Views

Hello,

In my scenario, I do not want to forward the client IP address to my target end-point system. Because every client IP address should be whitelisted in the target system which makes the maintenance not practical. So I want to whitelist only SAP Cloud Platform IP address on the target system so that every request it gets from API Management is a legit one.

I see API management fowards the request to target by appending SAP Cloud Platform's ip address to the client IP address in the header : X-Forwarded-For (For example: X-Forwarded-For: 104.13.144.155, 130.214.226.31)

How can I remove the client IP address from the header X-Forwarded-For ?

Regards,
Sandesh