Whitelist an IP address with fail2ban (linux)

use your preferred editor, in my case nano

edit jail.conf

sudo nano /etc/fail2ban/jail.conf

add your ip addresses seperated by a space

ignoreip = 192.168.0.1 192.168.1.1 192.168.100.100

Now, restart the fail2ban services

service fail2ban restart
Print Friendly, PDF & Email

More Like This


Categories


Linux Web Hosting

Tags