Search
Other IP Login questions
Forum

Use IP Login behind Cloudflare

Pascal Devif's Avatar Pascal Devif
Hello,
It could be cool to add an option to detect real IP from users behind Cloudflare or Proxy.
For example RSFirewall propose to use some of these headers :
HTTP_TRUE_CLIENT_IP
HTTP_CF_CONNECTING_IP
HTTP_X_REAL_IP
and many others ...

Regards.
Peter van Westen's Avatar Peter van Westen ADMIN
IP Login will use these server variables in this order:
- HTTP_X_FORWARDED_FOR
- HTTP_X_REAL_IP
- HTTP_CLIENT_IP
- REMOTE_ADDR
Please post a rating at the Joomla! Extensions Directory
Pascal Devif's Avatar Pascal Devif
To run well with Cloudflare you must use this one :

HTTP_CF_CONNECTING_IP
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Pascal Devif's Avatar Pascal Devif
Done but it still don't see my real IP.
RS Firewall see it using only HTTP_CF_CONNECTING_IP header.
But i think you must add a field to select correct header to use (relating the Firewall or CDN in front).
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Pascal Devif's Avatar Pascal Devif
Ok done !

Confidential information:
(hidden)
Pascal Devif's Avatar Pascal Devif
You can also go to RSFirewall config, into "Active Scanner" tab, to see "Grab IP from Proxy Headers" setting.
At top you will see your real IP (due to this setting).
Peter van Westen's Avatar Peter van Westen ADMIN
Can you try the new dev version?
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Pascal Devif's Avatar Pascal Devif
If it work i should see my real IP at top of IP login tab in my account ?
I'm right ?

It's still not the case with last version ...
Peter van Westen's Avatar Peter van Westen ADMIN
Ah, there... that was a bit of a simple note field. I updated that now too. But the internal IP check should already work.

Please test with the new dev version...
Please post a rating at the Joomla! Extensions Directory
Pascal Devif's Avatar Pascal Devif
Ok, now it works fine !
Thanks.
Peter van Westen's Avatar Peter van Westen ADMIN
The new version has been released!
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription