In this article, we have covered, how to install fail2ban on Plesk.
Fail2Ban protects servers from brute-force attacks. Written in the Python programming language, it is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, for example, iptables or TCP Wrapper. Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email) could also be configured. Out of the box Fail2Ban comes with filters for various services (apache, courier, ssh, etc).
Let’s install fail2ban on Plesk.
1. Access the Plesk server via SSH
2. Execute the following command:
# plesk installer --select-release-current --install-component fail2ban
That’s it. We have successfully installed fail2ban on Plesk.
[Need assistance to fix this error or install tools? We’ll help you.]