Skip to content

Instantly share code, notes, and snippets.

@samjaninf
Created September 19, 2016 15:41
Show Gist options
  • Select an option

  • Save samjaninf/9d07d0d7cf3388a8f5a29ea56a366357 to your computer and use it in GitHub Desktop.

Select an option

Save samjaninf/9d07d0d7cf3388a8f5a29ea56a366357 to your computer and use it in GitHub Desktop.
[DEFAULT]
# Ban hosts for one hour:
bantime = 3600
# 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