Actualiser README.md
This commit is contained in:
@@ -63,6 +63,30 @@ Restart=always
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## PROTEGER LE SERVEUR VIA FAIL2BAN
|
||||||
|
|
||||||
|
- Installer fail2ban:
|
||||||
|
```bash
|
||||||
|
sudo apt install fail2ban -y
|
||||||
|
```
|
||||||
|
|
||||||
|
- Créer `/etc/fail2ban/filter.d/realmd.conf`:
|
||||||
|
```conf
|
||||||
|
[realmd]
|
||||||
|
enabled = true
|
||||||
|
filter = realmd
|
||||||
|
port = 3724
|
||||||
|
protocol = tcp
|
||||||
|
logpath = /home/wow/vmangos/logs/realmd/realmd.log
|
||||||
|
maxretry = 5
|
||||||
|
findtime = 600
|
||||||
|
bantime = 3600
|
||||||
|
```
|
||||||
|
|
||||||
|
- Redémarrer fail2ban:
|
||||||
|
```bash
|
||||||
|
sudo systemctl restart fail2ban
|
||||||
|
```
|
||||||
|
|
||||||
## SE CONNECTER AU SERVEUR
|
## SE CONNECTER AU SERVEUR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user