# Cannot get client IP in X-Real-IP

**URL:** <https://community.traefik.io/t/cannot-get-client-ip-in-x-real-ip/9968>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [March 8, 2021, 12:37pm UTC](https://community.traefik.io/t/cannot-get-client-ip-in-x-real-ip/9968 "2021-03-08T12:37:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sergioarroyopay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/sergioarroyopay/32/3500_2.png) [@sergioarroyopay](https://community.traefik.io/u/sergioarroyopay)\
**Post date:** [March 8, 2021, 12:37pm UTC](https://community.traefik.io/t/cannot-get-client-ip-in-x-real-ip/9968/1 "2021-03-08T12:37:34Z")

</div>

Hello all,

I'm trying to configure Traefik to log the X-Real-IP from client. I have Traefik working behind a Google Cloud HTTP Load Balancer. I've configured the forwardedHeaders and I can see my IP inside the X-Forwarded-Proto header and the ClientHost but the X-Real-IP is not showing the client IP.

How I can get the client IP in a separate field or header?

Thank you!
