Created
September 4, 2017 13:55
-
-
Save benuski/99b7e82251b8af04485b6fedc61d8e24 to your computer and use it in GitHub Desktop.
SSH jail for fail2ban to ban IPs for one day
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ban hosts for one day: | |
bantime = 86400 | |
# 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