Fail2ban: whitelist an ip

Bschelst/ August 7, 2017/ Linux/ 0 comments

First, edit the config file :

vi /etc/fail2ban/jail.conf

Then, check the line :

ignoreip =

Add now add all ip you want. Each IP or range IP must be placed here with a space. Ex: 192.168.0.1 192.168.5.0/32

Save. And restart Fail2Ban:

service fail2ban restart
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*