Support

Admin Tools

#32142 Do I need to whitelist Cloudflare IPs in Admin Tools Pro?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 16 January 2020 17:17 CST

bobpit
Hello

I 2 websites and I use Cloudflare on both. For the last 5, one of them stopped working (when CF is on). It gives those error pages:
https://i.ibb.co/qFbzt0w/Screenshot-from-2019-12-16-10-29-04.png

Do I have to whitelist CF IPs from inside the Admin Tools Pro? And if so, how come it was working for years up to now?

CF recommends that we whitelist those IPs:
https://www.cloudflare.com/ips/

nicholas
Akeeba Staff
Manager
No, you MUST NOT whitelist CloudFlare IPs in Admin Tools. This would disable Admin Tools for everyone visiting your site through CloudFlare, i.e. everyone visiting your site. That's effectively disable Admin Tools!

Instead go to Components, Admin Tools, Web Application Firewall, Configure WAF and set Enable IP Workarounds to Yes. This tells Admin Tools that the IP of the actual visitor is not the IP your web server sees (i.e. CloudFlare's IP) but the IP CloudFlare sends in a special HTTP header when relaying the request. This way a security exception will only block the real IP causing the problem, not CloudFlare in its entirety.

If your problem persist it's possible that your host is blocking CloudFlare's access to your server. In this case please ask your host to whitelist the CloudFlare IPs on their server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!