# Get client real IP

**URL:** <https://community.traefik.io/t/get-client-real-ip/17385>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [February 1, 2023, 3:44pm UTC](https://community.traefik.io/t/get-client-real-ip/17385 "2023-02-01T15:44:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bcantera](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@bcantera](https://community.traefik.io/u/bcantera)\
**Post date:** [February 1, 2023, 3:44pm UTC](https://community.traefik.io/t/get-client-real-ip/17385/1 "2023-02-01T15:44:05Z")

</div>

Hello, I have traefik behind cloudfare load balancer and my requests are received in the application with cloudfare IP, just like explained in this document [https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs](https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs)

I couldn't find how to manage to get original IP on my app with traefik, I saw some third party pluggins but they didn't work, does somebody have this resolved who can share how to achieve it?

Thanks in advance  
Cheers

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [February 1, 2023, 3:52pm UTC](https://community.traefik.io/t/get-client-real-ip/17385/2 "2023-02-01T15:52:52Z")

</div>

You can usually get the original IP from the HTTP headers.

---

<div class="post-metadata">

**Author:** ![bcantera](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@bcantera](https://community.traefik.io/u/bcantera)\
**Post date:** [February 1, 2023, 4:46pm UTC](https://community.traefik.io/t/get-client-real-ip/17385/3 "2023-02-01T16:46:21Z")

</div>

Yes, but how you do it with traefik?

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [February 2, 2023, 10:28am UTC](https://community.traefik.io/t/get-client-real-ip/17385/4 "2023-02-02T10:28:44Z")

</div>

Check if Cloudflare supports [proxyprotocol](https://doc.traefik.io/traefik/routing/entrypoints/#proxyprotocol), that works with Traefik.
