Projet

Général

Profil

Résumé condensé » Historique » Version 1

Eric Seigne, 09/07/2021 16:14

1 1 Eric Seigne
# Résumé condensé
2
3
```
4
cd /usr/local/bin
5
wget https://projets.cap-rel.fr/projects/fail2band/repository/webservice-fail2band/revisions/master/raw/tools/fail2band.sh
6
chmod +x fail2band.sh
7
./fail2band.sh --setup
8
9
(complérer)
10
11
cd /etc/fail2ban/action.d/
12
wget https://projets.cap-rel.fr/projects/fail2band/repository/webservice-fail2band/revisions/master/raw/tools/fail2ban/action.d/fail2band.conf
13
14
cd /etc/fail2ban
15
emacs jail.conf jail.local jail.d/ en fonction de sa config locale pour ajouter fail2band a banaction
16
17
18
cd /etc/fail2ban/filter.d/
19
wget https://projets.cap-rel.fr/projects/fail2band/repository/webservice-fail2band/revisions/master/raw/tools/fail2ban/filter.d/fail2band-remote.conf
20
21
cd /etc/fail2ban/jail.d/
22
wget https://projets.cap-rel.fr/projects/fail2band/repository/webservice-fail2band/revisions/master/raw/tools/fail2ban/jail.d/fail2band-remote.conf
23
24
25
cd /etc/cron.d/
26
wget https://projets.cap-rel.fr/projects/fail2band/repository/webservice-fail2band/revisions/master/raw/tools/cron.d/fail2band
27
```
Go to top
Ajouter une image à partir du presse-papier (Taille maximale: 50 Mo)