• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How can I add a action to fail2ban - iptables-ipset-proto

Hi OverWolf,

sorry... but I can't follow you, as it is unclear right now, WHAT is causing WHICH error/issues/problem. Pls. consider to document with a step-by-step guide, how people willing to help you may reproduce the error/issue/problem, that you currently experience.
 
Using:
[own-badbot]
enabled = true
action = iptables-ipset-proto4[name=own-badbot, port="http,https,7080,7081"]
iptables-ipset-proto6-allports[name=own-badbot, port="http,https,7080,7081"]
iptables-ipset-proto6[name=own-badbot, port="http,https,7080,7081"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
filter = apache-badbots
findtime = 43200
bantime = 604800
maxretry = 3​
without ".conf" for the action - that works for me (Plesk 17.8.11)

I think, that 's, what OverWolf found too
 
Back
Top