remove fail2ban duplicate sshd jail specification and enable aggressive mode which includes ddos and extra filters (#1364)
This commit is contained in:
parent
4f4b1e6935
commit
e21f2fda03
|
@ -42,11 +42,7 @@ sendername = Fail2Ban
|
|||
[sshd]
|
||||
enabled = true
|
||||
port = 22
|
||||
|
||||
[sshd-ddos]
|
||||
enabled = true
|
||||
filter = sshd
|
||||
port = 22
|
||||
mode = aggressive
|
||||
```
|
||||
|
||||
Finally, restart fail2ban:
|
||||
|
|
Loading…
Reference in New Issue