Support

Admin Tools

#26259 Blocked admin

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 Sunday, 04 December 2016 17:17 CST

wicko
 Logging into the admin of my site is becoming a total nightmare as I am blocked nearly every time. To get in I have to change the name of the file main.php to something else so I can get to the login screen. When I check the Admin tool exception I see there are no black listed IPs. I have white listed my IP but the problem is that that my IP is dynamic and not fixed so when I come back another day the IP is different and not on the white list. I have tried to add a range but often the new IP is well out of that range too.
It is ok for me to FTP in and change the file name every now and then but when it comes to the customer logging in to edit their site this will become a major problem.
Don't mind it blocking IPs is there are several failed login attempts. But it the IP is not on the black list then it should not be blocked.
How can I set this up so this stops happening and I can login as normal?

regards

David

Web design and development in Reading and Oxfordshire UK.

Wicko Web design

nicholas
Akeeba Staff
Manager
The problem comes from the fact that you are using the administrator IP whitelist which means that only IPs in the whitelist are allowed to access the backend. When you try to access the backend through another IP address you raise a security exception and your IP address is automatically banned. The solution should be really simple: go to Components, Admin Tools, Web Application Firewall, Configure WAF and set "Allow administrator access only to IPs in Whitelist" to No. This will allow you to access the administrator back-end from any IP address.

Please remember that IP whitelisting only makes sense if you have a static IP address.

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!

wicko
Thanks for the advice. I have set the UPs in While list to no but when I return another day I am blocked and have to use FTP to rename the main.php again.
Are there any other settings that need to be changed?

regards

David

Web design and development in Reading and Oxfordshire UK.

Wicko Web design

wicko
My site is currently offline. Not sure if that has anything to do with it. I am able to login at the front end to see full site but just unable to login to admin unless I rename the main.php

regards

David

Web design and development in Reading and Oxfordshire UK.

Wicko Web design

nicholas
Akeeba Staff
Manager
As I said above, IP whitelisting only makes sense if you have a static IP address. You do not have a static IP address. Therefore you must disable IP whitelisting. It's NOT enough to remove the IPs from the IP whitelist management, you have to disable the entire IP whitelisting feature.

Per my instructions above please go to Components, Admin Tools, Web Application Firewall, Configure WAF and set "Allow administrator access only to IPs in Whitelist" to No.

If you have already done that, please take a look at https://www.akeebabackup.com/documentation/troubleshooter/atwafissues.html for unblocking your IP address. Please follow all of the steps described on that page or click the big, red Unblock My IP button in Components, Admin Tools to have everything done for you except for renaming the main.php file.

If you get locked out again it's worth taking a look at the Components, Admin Tools, Web Application Firewall, Security Exceptions Log. Filter by your IP address. What is the Reason and Target URL of the records relating to your IP address? This will tell us why you are getting blocked.

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!

wicko
Hi Nickolas

I think you misread my replies.

Already set White lists to No and checked all the lists which are clear.

what else can I do?

regards

David

Web design and development in Reading and Oxfordshire UK.

Wicko Web design

nicholas
Akeeba Staff
Manager
You need to do the last bit of my reply: If you get locked out again it's worth taking a look at the Components, Admin Tools, Web Application Firewall, Security Exceptions Log. Filter by your IP address. What is the Reason and Target URL of the records relating to your IP address? This will tell us why you are getting blocked.

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!

wicko
Still doing it. Locks me out every time. It is odd as I have Admin Tools on other sites and never have issues. Only on this site. The site is set to be offline. Not sure if that would have any effect. Otherwise quite standard.

regards

David

Web design and development in Reading and Oxfordshire UK.

Wicko Web design

nicholas
Akeeba Staff
Manager
I will need the information I requested in my previous reply.

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!