Hello.
I have configured my dns of my site for Cloudflare, all work fine but, my site its a forum, I can view the users ip (if I need block some user, or banned…etc…)
Since use dns’s of Cloudflare I view that, all my users have a ip’s from or of Cloudflare, not the real ip of the user.
Cloudflare is proxying your visitors, so your server sees all requests as coming from Cloudflare.
See if your forum has a way to handle proxied requests. Cloudflare uses two headers that show the visitor’s actual IP address: CF-Connecting-IP and X-Forwarded-For
Yes, uncomment the line and this is all, only the last part of the line above, confusion for me, for this reasson I was think in enter Cloudflare:
/* If the real IP is passed in a http header variable you can set the name here; */
This part, was confused to me.
Again, thank you, I made the changes and reactivate the Cloudflare dns, wait to 24 hours and check now if work.
Hello.
The cloudlfare dns are propagated, and then, I try to create a thread in my forum, now, I view that, the user (in this case, me) posted with ip of Cloudflare.
I made the change in config.php:
$config[‘Misc’][‘proxyipheader’] = ‘HTTP_X_FORWARDED_FOR’;
Upload the file.
I try with other new thread but continue with ip of Cloudflare, not appears with real ip…