|
|
|
@ -41,7 +41,7 @@ action = iptables[name=%(__name__)s, port=%(port)s]
|
|
|
|
|
# in /etc/fail2ban/jail.local
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
[ssh-iptables]
|
|
|
|
|
[ssh]
|
|
|
|
|
|
|
|
|
|
enabled = true
|
|
|
|
|
port = ssh
|
|
|
|
@ -53,7 +53,7 @@ maxretry = 6
|
|
|
|
|
# HTTP servers
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
[apache-iptables]
|
|
|
|
|
[apache]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = http
|
|
|
|
@ -65,7 +65,7 @@ maxretry = 6
|
|
|
|
|
# FTP servers
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
[vsftpd-iptables]
|
|
|
|
|
[vsftpd]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = ftp
|
|
|
|
@ -74,7 +74,7 @@ logpath = /var/log/auth.log
|
|
|
|
|
maxretry = 6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[proftpd-iptables]
|
|
|
|
|
[proftpd]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = ftp
|
|
|
|
@ -86,7 +86,7 @@ maxretry = 6
|
|
|
|
|
# Mail servers
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
[postfix-iptables]
|
|
|
|
|
[postfix]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = smtp
|
|
|
|
@ -94,7 +94,7 @@ filter = postfix
|
|
|
|
|
logpath = /var/log/postfix.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[couriersmtp-iptables]
|
|
|
|
|
[couriersmtp]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = smtp
|
|
|
|
@ -102,7 +102,7 @@ filter = couriersmtp
|
|
|
|
|
logpath = /var/log/mail.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[sasl-iptables]
|
|
|
|
|
[sasl]
|
|
|
|
|
|
|
|
|
|
enabled = false
|
|
|
|
|
port = smtp
|
|
|
|
|