1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

fail2ban: whitelist our machine's public ip address so status checks dont cause bans of the machine itself

This commit is contained in:
Joshua Tauberer
2015-12-07 08:45:59 -05:00
parent 5bbe9f9a04
commit 20e11bbab3
2 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Fail2Ban configuration file for Mail-in-a-Box
[DEFAULT]
# Whitelist our own IP addresses. 127.0.0.1/8 is the default. But our status checks
# ping services over the public interface so we should whitelist that address of
# ours too. The string is substituted during installation.
ignoreip = 127.0.0.1/8 PUBLIC_IP
# JAILS
[ssh]