====== Systems - Media Server - Secure the Server - Install fail2ban ======
**Fail2ban** is an intrusion prevention software framework.
* It bans IP addresses conducting too many failed login attempts.
----
===== Update the system: =====
sudo apt update && sudo apt upgrade
----
===== Install Fail2Ban =====
sudo apt install fail2ban
----
**NOTE:** For now, only the sshd service is monitored.
* See [[Ubuntu:Fail2Ban|Fail2Ban]] for optionally monitoring other services.
----
===== References =====
[[Ubuntu:Fail2Ban|Fail2Ban]]