Plesk

How to change the Fail2ban ban period and the number of attempts before the ban in Plesk?

Question

How to change the Fail2ban ban period and the number of attempts before the ban for the required Jail in Plesk?

Answer

  1. Log into Plesk.
  2. Go to Tools & Settings > IP Address Banning (Fail2Ban) > Jails > Jail_name > Change Settings.
  3. Set the required values into the IP address ban period and The maximum number of failed login attempts fields:

    Click on the screenshot below to expand

     

  4. Press the OK button to apply the changes.