Last active
January 25, 2016 06:23
-
-
Save hannesbe/52e080c0b25f24959fc7 to your computer and use it in GitHub Desktop.
fail2ban jail.local to enable sshd jailn & additions for specific jails
This file contains 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
# fail2ban local jail config | |
# /etc/fail2ban/jail.local | |
# jail.conf should not be modified, put overrides to jail.conf in jail.local | |
# enable sshd jail | |
[sshd] | |
enabled = true | |
# enable recidive jail to permanently ban recidives | |
[recidive] | |
enabled = true |
This file contains 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
# enable apache-wp jails | |
[apache-wp-xmlrpc] | |
enabled = true | |
[apache-wp-login] | |
enabled = true |
This file contains 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
# set default banaction to csf | |
[DEFAULT] | |
banaction = csf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment