# Reverse Proxy - Client ip in Webinterface

**URL:** <https://discourse.pi-hole.net/t/reverse-proxy-client-ip-in-webinterface/74510>\
**Category:** Beta 6.0\
**Created:** [December 14, 2024, 7:11am UTC](https://discourse.pi-hole.net/t/reverse-proxy-client-ip-in-webinterface/74510 "2024-12-14T07:11:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![begee](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/begee/32/44537_2.png) [@begee](https://discourse.pi-hole.net/u/begee)\
**Post date:** [December 14, 2024, 7:11am UTC](https://discourse.pi-hole.net/t/reverse-proxy-client-ip-in-webinterface/74510/1 "2024-12-14T07:11:12Z")

</div>

Hello,

im using nginx proxy manager to expose the the interface. it works but the interface doenst really filter out the proxy ip. i cant find any option to the the trusted reverse proxy ip.  
is this feature not implemented/planned?  
 ![Screenshot 2024-12-14 065812](https://discourse.pi-hole.net/uploads/default/original/3X/3/c/3c20a8a84fb993ffa6a1cd3987d3eba86c93cd16.png)

regards

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [December 14, 2024, 8:02am UTC](https://discourse.pi-hole.net/t/reverse-proxy-client-ip-in-webinterface/74510/2 "2024-12-14T08:02:32Z")

</div>

It is implemented by evaluating incoming `X-Forwarded-For` headers. This is the suggested method, see, e.g., [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For)

How does your proxy try to pass the original client address to Pi-hole?

---

<div class="post-metadata">

**Author:** ![begee](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/begee/32/44537_2.png) [@begee](https://discourse.pi-hole.net/u/begee)\
**Post date:** [December 19, 2024, 9:15pm UTC](https://discourse.pi-hole.net/t/reverse-proxy-client-ip-in-webinterface/74510/3 "2024-12-19T21:15:15Z")

</div>

ive reinstalled my pi os lite onto a new sd/better sd card, it works like intented now.

it uses x-forwarded-for correctly. pihole webinterface now sees the correct client ip.

maybe it was caused by doing docker ipv6 bridge wrong. maybe ive fogotten to re-lease a ipv6 prefix for this bridge.

 ![Screenshot 2024-12-19 221404](https://discourse.pi-hole.net/uploads/default/original/3X/3/4/34b0ca569dc7a11c4b5e436d7353202e77cafed1.png)  
 ![Screenshot 2024-12-19 221254](https://discourse.pi-hole.net/uploads/default/original/3X/9/a/9aad00131f4c9f5f7cb188c3ca94712340b0be85.png)

edit//  
removed old screenshots, they had my ip's in it.
