I have a CentOS 7.2 server with apache. I installed and configured modsecurity and I did some tests from my home and now my IP si blocked.
Where is stored the blacklist for modsecurity? I stopped the iptables and fail2ban but I'm still blocked. Thanks
Remove IP from modsecurity blacklist
apache-2.2mod-security
Best Answer
What you actually need to do is whitelist your IP
See - https://github.com/SpiderLabs/ModSecurity/wiki/ModSecurity-Frequently-Asked-Questions-%28FAQ%29#How_do_I_whitelist_an_IP_address_so_it_can_pass_through_ModSecurity
If you also run mod_evasive, also make sure that you create a whitelist for it too as it will also block you out as it is intended when you are wilfully attacking your own server.