Browse Source

Update jail.local - To make whitelisting easier (#2856)

* Update jail.local

Added 3 commented lines with a thorough example of the ignoreip parameter.

* Update jail.local
jlguerrerosanz 3 years ago
parent
commit
af7e249f0c
2 changed files with 8 additions and 0 deletions
  1. 4 0
      install/deb/fail2ban/jail.local
  2. 4 0
      install/rpm/fail2ban/jail.local

+ 4 - 0
install/deb/fail2ban/jail.local

@@ -53,3 +53,7 @@ logpath  = /var/log/fail2ban.log
 maxretry = 5
 findtime = 86400
 bantime  = 864000
+
+#Uncomment and add your IPs and or domains to the Whitelist
+#[DEFAULT]
+#ignoreip = 111.111.111.111 222.222.222.222 subdomain.example.tld example.tld 333.333.333.333

+ 4 - 0
install/rpm/fail2ban/jail.local

@@ -53,3 +53,7 @@ logpath  = /var/log/fail2ban.log
 maxretry = 5
 findtime = 86400
 bantime  = 864000
+
+#Uncomment and add your IPs and or domains to the Whitelist
+#[DEFAULT]
+#ignoreip = 111.111.111.111 222.222.222.222 subdomain.example.tld example.tld 333.333.333.333