Update fail2ban configuration

This commit is contained in:
Wojciech Kozlowski 2022-11-02 11:19:53 +01:00
parent 4b9dc63253
commit 9e11c060e8
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ subnet:
ethx:
is_zfs:
# Fail2ban variable:
fail2ban_ignoreip:
# Postfix variables
postfix_smtp_pass:

View File

@ -3,7 +3,7 @@
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
# will not ban a host which matches an address in this list. Several addresses
# can be defined using space (and/or comma) separator.
ignoreip = 127.0.0.1/8 ::1 {{ subnet }}
ignoreip = 127.0.0.1/8 ::1 {{ fail2ban_ignoreip }}
# "bantime" is the number of seconds that a host is banned.
bantime = 1d