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.
- Run over CLI:
sudo bash /var/scripts/menu.sh
- Choose
Additional Apps
->Fail2Ban
->Install-Fail2Ban
- Choose to install/reinstall Fail2Ban
- Wait until everything is installed
- Choose to get a daily Fail2Ban report by selecting
Yes