fail2ban: For sshd jail, protect 2222 port too #36

Manually merged
benpro merged 1 commit from fail2ban-sshd-use-port-2222-too into unstable 2019-04-04 16:20:35 +02:00
Showing only changes of commit 1a7349ee3d - Show all commits

View file

@ -27,6 +27,12 @@ action_mwl = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(proto
action = %(action_mwl)s
[sshd]
port = ssh,2222
logpath = %(sshd_log)s
backend = %(sshd_backend)s
maxretry = 10
{% if fail2ban_wordpress %}
[wordpress-hard]
enabled = true