Skip to content

Instantly share code, notes, and snippets.

Created Jun 4, 2020
What would you like to do?
Fail2Ban jail local
# To use more aggressive ssh modes set filter parameter "mode":
# normal (default), ddos, extra or aggressive (combines all).
# See "tests/files/logs/sshd" or "filter.d/sshd.conf" for usage example and details.
#mode = normal
port = ssh
enabled = true
filter = sshd
ignoreip =
banaction = iptables-multiport
bantime = 3600
maxretry = 3
logpath = %(sshd_log)s
backend = %(sshd_backend)s
action = sendnotif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment