Skip to content

Instantly share code, notes, and snippets.

@Hendrik44
Created August 17, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hendrik44/80471bb2d550e9c3b67afe029dcd4cf1 to your computer and use it in GitHub Desktop.
Save Hendrik44/80471bb2d550e9c3b67afe029dcd4cf1 to your computer and use it in GitHub Desktop.
IP-Blacklist fail2ban jail
[ip-blacklist]
enabled = true
banaction = iptables-allports
port = anyport
filter = ip-blacklist
logpath = /etc/fail2ban/ip.blacklist
maxretry = 0
findtime = 15552000
bantime = -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment