Configuration

_$: cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
/etc/fail2ban/jail.local:
-------------------------
...
[DEFAULT]
ignoreip = 127.0.0.1/8 88.XX.YY.ZZ 192.168.1.0/24     <=== IP addresses not affected
...
[ssh]

enabled  = true
port     = ssh
filter   = sshd
logpath  = /var/log/auth.log
maxretry = 6