How can i retrieve client actual ip address to add as identifier in quota. client.ip is giving Big IP or loadbalancer address

How can i retrieve client actual IP address to add as identifier in quota. client.ip is giving Big IP or load balancer address. client is not explicitly forwarding any X-Forwarded-For address. .

0 2 102
2 REPLIES 2

sidd-harth
Participant V

Did you check proxy.client.ip

Even this could be the calling client or a load balancer.

Also, mention what is your complete use-case for Quota policy, we can provide any/better solution if possible.

Why are you going with client ip as an identifier for Quota policy?

Did you try with client.id, developer.id etc?

we have a unique requirement to set limit per IP Address. Client is using basic auth.

I've verified proxy.client.ip, it is also load balancer ip.