Layer7 API Management

Expand all | Collapse all

source ip

Jump to Best Answer
  • 1.  source ip

    Posted 10-10-2018 03:18 PM

    Hi There,

    I was trying to get the client IP address with the following predefined varaible but it get the LB physical address,for all this it get same result i,e physical LB IP.Please advice.how to pull the client source ip.

    client-->LB-->API GW-->Backened

    ${request.tcp.remoteAddress}

    ${request.tcp.remoteIP}

    ${request.tcp.remoteHost}



  • 2.  Re: source ip
    Best Answer

    Posted 10-10-2018 03:38 PM

    If you have enabled X-Forwarded-For feature on the load balancer, you would be able to get the client-ip from the request header request.http.header.x-forwarded-for