To prevent yourself from being banned by fail2ban
, you can add a list of safe IP-addresses to the jail config file.
nano /etc/fail2ban/jail.conf
Add the following lines to the [DEFAULT]
section:
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host
ignoreip = 127.0.0.1 192.168.0.99