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]
|
[sshd]
|
||||||
enabled = true
|
enabled = true
|
||||||
port = 22
|
port = 22
|
||||||
|
mode = aggressive
|
||||||
[sshd-ddos]
|
|
||||||
enabled = true
|
|
||||||
filter = sshd
|
|
||||||
port = 22
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, restart fail2ban:
|
Finally, restart fail2ban:
|
||||||
|
|
Loading…
Reference in New Issue