Created Fail2Ban config for SSH
This commit is contained in:
6
config/fail2ban/sshd.local
Normal file
6
config/fail2ban/sshd.local
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[sshd]
|
||||||
|
enabled = true
|
||||||
|
port = 4242
|
||||||
|
filter = sshd
|
||||||
|
logpath = /var/log/auth.log
|
||||||
|
maxretry = 5
|
||||||
Reference in New Issue
Block a user