Skip to main content

How to set up Fail2Ban?

In order to block too much failed login attempts for Nextcloud and SSH, you should configure Fail2Ban for your server.

  1. Run over CLI:
    sudo bash /var/scripts/menu.sh
  2. Choose Additional Apps -> Fail2Ban -> Install-Fail2Ban
  3. Choose to install/reinstall Fail2Ban
  4. Wait until everything is installed
  5. Choose to get a daily Fail2Ban report by selecting Yes