Initial commit
This commit is contained in:
5
dot/fail2ban/fail2ban.conf
Normal file
5
dot/fail2ban/fail2ban.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[INCLUDES]
|
||||
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
11
dot/fail2ban/ssh.local
Normal file
11
dot/fail2ban/ssh.local
Normal file
@@ -0,0 +1,11 @@
|
||||
[sshd]
|
||||
backend=systemd
|
||||
enabled = true
|
||||
port = ssh
|
||||
filter = sshd
|
||||
logpath = /var/log/auth.log
|
||||
maxretry = 3
|
||||
findtime = 10m
|
||||
bantime = 1d
|
||||
ignoreip = 127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user