mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
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…
x
Reference in New Issue
Block a user