Skip to content

Instantly share code, notes, and snippets.

@molayli
Created August 6, 2020 16:31
Show Gist options
  • Save molayli/d8ffc8f97d7697835e51c9df35100988 to your computer and use it in GitHub Desktop.
Save molayli/d8ffc8f97d7697835e51c9df35100988 to your computer and use it in GitHub Desktop.
[DEFAULT]
# Ban hosts for one hour:
bantime = 36000
# Override /etc/fail2ban/jail.d/00-firewalld.conf:
banaction = iptables-multiport
[sshd]
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment