Support

Admin Tools

#40773 NeverBlockIP's

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 tampe125 on Tuesday, 04 June 2024 01:48 CDT

mandriva

Add/Remove many IP's from cmd to rule neverblockips. WAF -> Configure WAF -> Exceptions -> IP's

How can i do it from cmd?

php .../web/cli/joomla.php admintools:waf... DEL IP OR CIDR

php .../web/cli/joomla.php admintools:waf... ADD IP OR CIDR

tampe125
Akeeba Staff

Hello,

please take a look at this page of the docs: https://www.akeeba.com/documentation/admin-tools-joomla/cli-admintools-waf-set.html 

In your case, the option you're interested into is "neverblockips", so the command would be something like this: 

admintools:waf:set --key=neverblockips --value=IP_ADDRESS --add

admintools:waf:set --key=neverblockips --value=IP_ADDRESS --remove

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mandriva

Thanks for the expert tip! But I can't find a suitable example here? How do I add or remove an IP via the console?

tampe125
Akeeba Staff

Exactly with the command I posted above: 

php .../web/cli/joomla.php admintools:waf:set --key=neverblockips --value=IP_ADDRESS --add

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!