# 🇨🇳 The IP address in Discourse’s user information shows CloudFlare’s IP address | Discourse 的用户信息中的 IP 地址显示的是 CloudFlare 的 IP 地址

**URL:** <https://meta.discourse.org/t/the-ip-address-in-discourse-s-user-information-shows-cloudflare-s-ip-address-discourse-ip-cloudflare-ip/265556>\
**Category:** Sysadmins\
**Tags:** chinese-translation\
**Created:** [2023 年5 月 19 日 12:49 UTC](https://meta.discourse.org/t/the-ip-address-in-discourse-s-user-information-shows-cloudflare-s-ip-address-discourse-ip-cloudflare-ip/265556 "2023-05-19T12:49:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![sober](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sober/32/344783_2.png) [@sober](https://meta.discourse.org/u/sober)\
发布日期： [2024 年3 月 6 日 07:52 UTC](https://meta.discourse.org/t/the-ip-address-in-discourse-s-user-information-shows-cloudflare-s-ip-address-discourse-ip-cloudflare-ip/265556/4 "2024-03-06T07:52:23Z")

</div>

问题查到了，我通过tcp负载均衡做内网转发，没有配置好，后面处理好了。但是源服务器在中国，使用CloudFlare反而变慢了，目前已经放弃了CloudFlare。内网转发也涉及到用户ip地址的解析，使用real\_ip\_header proxy\_protocol解析到了

---

_[View the full topic](https://meta.discourse.org/t/the-ip-address-in-discourse-s-user-information-shows-cloudflare-s-ip-address-discourse-ip-cloudflare-ip/265556)._
