Skip to content

Commit 58fce01

Browse files
Update jail.local - To make whitelisting easier (hestiacp#2856)
* Update jail.local Added 3 commented lines with a thorough example of the ignoreip parameter. * Update jail.local
1 parent c330742 commit 58fce01

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

install/deb/fail2ban/jail.local

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ logpath = /var/log/fail2ban.log
5353
maxretry = 5
5454
findtime = 86400
5555
bantime = 864000
56+
57+
#Uncomment and add your IPs and or domains to the Whitelist
58+
#[DEFAULT]
59+
#ignoreip = 111.111.111.111 222.222.222.222 subdomain.example.tld example.tld 333.333.333.333

install/rpm/fail2ban/jail.local

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ logpath = /var/log/fail2ban.log
5353
maxretry = 5
5454
findtime = 86400
5555
bantime = 864000
56+
57+
#Uncomment and add your IPs and or domains to the Whitelist
58+
#[DEFAULT]
59+
#ignoreip = 111.111.111.111 222.222.222.222 subdomain.example.tld example.tld 333.333.333.333

0 commit comments

Comments
 (0)