little fixes

This commit is contained in:
2023-12-26 04:34:28 +06:00
parent 502633a0d5
commit 299a17db96
25 changed files with 113 additions and 49 deletions

View File

@ -10,6 +10,7 @@ apt -y install fail2ban
```
## Правило для ssh
В файл `/etc/fail2ban/jail.d/sshd.conf` необходимо добавить следующее:
```config
[sshd]
enabled = true
@ -19,8 +20,6 @@ logpath = /var/log/auth.log
maxretry = 3
findtime = 300
bantime = 3600
# /etc/fail2ban/jail.d/sshd.conf
```
## Перезапуск сервиса fail2ban