Intro to fail2ban with ufw - zaiste
Intro to fail2ban with ufw - zaiste
fail2ban is configured by default to only ban failed SSH login attempts. Check the current configuration with the following command:
sudo fail2ban-client status
Status
|- Number of jail: 1
`- Jail list: sshd
Setup
Let\'s start by configuring fail2ban
to use ufw
instead of
iptables
. Verify that there is a ufw.conf
inside
/etc/fail2ban/action.d/
directory.
Copy jail.conf
to jail.local
to prevent ch...