Раздел безопасности отображает IP-адрес Cloudflare вместо IP-адреса пользователя

I use cloudflare on my domain and server, I noticed that sometimes when accessing my community and going to the preferences when entering the “security” section it shows the cloudflare IP instead of showing the user’s real IP, is it possible to fix this

1 лайк

I’m not too familiar with this stuff, but have you seen this doc?

2 лайка

In my case I don’t think that would be the case, as I currently use cloudflare just for security against DDOS or WEB-based attacks, my cloudflare works by doing domain resolution and blocking certain IP’s / countries from visiting my community, the problem is that my discourse is unable to determine the visitor’s real IP, the cloudflare IP ends up appearing as if the person was actually accessing it through the cloudflare network

Did you add the cloudflare web template?

4 лайка

Sorry, I’m new to all this, I couldn’t understand

This should help: How do you setup Cloudflare? - #6 by codinghorror

2 лайка

I’d double‑check the CNAME has no proxy turned on and matches the exact host. If everything looks right, removing and re‑adding the custom domain often kicks the certificate process back into gear.