How to preserve client IP address in a network architecture that utilized CDN > Application Gateway.
Hi guys,
I currently have a setup that accepts client request from CDN and forward to application gateway in front of a backend server.
The problem now is due to security concerns, I would like to obtain client IP addresses from application gateway's logs. All the request origin was shown and logged as CDN ip address instead of actual IP address of client side.
May I know any ways that I can configure my CDN and allow application gateway to get client's IPs? I know there is a technique called request headers modification and stuff about x-forwarded. Do anyone have any suggestions on this?
Appreciate your time and help to look into this!