Просмотр исходного кода

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 лет назад
Родитель
Сommit
58fce01faf
2 измененных файлов с 8 добавлено и 0 удалено
  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