Apis need to restricted based on user devices ip

 I need to restricted APIs based on user devices IPs. I had tried with proxy.clientip flow variable but it gives client IP only . is there any flow variables is there to get device IP?                                                                                        
0 4 113
4 REPLIES 4

Please elaborate what you are trying to do and your use case.

The requirement is to restrict end users based on their system IP's.So i tried fetching it from the incoming request headers( request.header.X-Forwarded-For)But it resulted in the front end application IP and not the system IP of the end user.

i am trying this use case in apigee cloud not an on prem

"proxy.client.ip" should give you the IP of the end user. I tried it by myself. Btw, How are you trying to access the frontend application?

I am trying to access service from the postman and I am getting the IP which differs from system IP. Here the use case is need to get system IP