Comments on How to whitelist an IP in Fail2ban on Debian Linux
How to whitelist an IP in Fail2ban on Debian Linux. Fail2Ban is used to protect servers against brute force attacks. Fail2ban uses iptables to block attackers, so, if we want to add permanent IP address and never be blocked, we must add it in the config file.
7 Comment(s)
Comments
Thank you! It is exactly what I am looking for.
Hi,
it does not work for me. Is there a way I can see the current active configuration?
Hi,
Can we add this whitelisted IP in file or any database ???
It's not working for me any other suggestion please. I have added static IP address but not work for me.
I have added my static IP addresses but not work for me.
The ignoreip setting works fine for me in Debian 9. Maybe you added the IP in the wrong section, it needs to be added in the [DEFAULT] section of the file. Ensure that you removed the # in front of the existing ignoreip line in case that you reuse it. Or maybe your jail.conf is overridden by a jail.conf.local file where ignoreip is set to a different value.
I believe this should be updated to reference jail.local.