Skip to content

Commit fc0aecc

Browse files
committed
fail2ban jail prefs
1 parent 595960f commit fc0aecc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/jail.local

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[DEFAULT]
2+
# Ban hosts for one hour:
3+
bantime = 3600
4+
5+
# Override /etc/fail2ban/jail.d/00-firewalld.conf:
6+
banaction = iptables-multiport
7+
8+
[sshd]
9+
enabled = true

0 commit comments

Comments
 (0)