Skip to content

Instantly share code, notes, and snippets.

@francismhw
Created January 16, 2015 01:02
Show Gist options
  • Select an option

  • Save francismhw/a2bf1e38d89695c46767 to your computer and use it in GitHub Desktop.

Select an option

Save francismhw/a2bf1e38d89695c46767 to your computer and use it in GitHub Desktop.
jail.conf fail2ban
[ssh-repeater]
enabled = true
filter = sshd
action = iptables-repeater[name=ssh]
sendmail-whois[name=SSH-repeater, dest=root, sender=root]
logpath = /var/log/secure
maxretry = 32
findtime = 31536000
bantime = 31536000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment