Rate limit plugin behaviour with corporate proxy between user and API Gateway?


As per the documentation of rate limit plugin, Rate limiting plugin will throttle the client requests based on client_ip of end user.
What if there is a corporate proxy between end user and API GW? The typical request flow that I am thinking about looks like this: End user (browser) —> corporate proxy —> Load balancer —> Kong API GW
In this case even if use we x-forwarded-for(with load balancer) OR remote_addr (without load balancer) to determine the actual end user’s IP address, will it give it correctly OR it will be of corporate proxy server?

thanks in adance


can anybody help me to understand the above behaviour from Rate Limit plugin?

Thanks in Advance

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ