Skip to content

Instantly share code, notes, and snippets.

@MiteshShah
Created April 10, 2017 10:31
Show Gist options
  • Save MiteshShah/af41a112e614156e3748701503713250 to your computer and use it in GitHub Desktop.
Save MiteshShah/af41a112e614156e3748701503713250 to your computer and use it in GitHub Desktop.
[DEFAULT]
# Ban hosts for one hour:
bantime = 43200
# 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