Mise à jour des fichier fail2ban pour refléter les changements pour Vaultwarden (ancienement Bitwarden_RS)

This commit is contained in:
MilesTEG 2021-04-30 18:48:21 +02:00
parent 84f8b58c83
commit e113ba745d
5 changed files with 11 additions and 11 deletions

View File

@ -79,7 +79,7 @@ services:
# Les différents chemins d'accès vers les fichiers log des services à protéger par fail2ban
# On ajoute ro pour read-only (lecture seule)
- "/volume1/docker/bitwarden_rs/bitwarden-data:/bitwarden:ro" # Bitwarden_RS
- "/volume1/docker/vaultwarden/vaultwarden-data:/vaultwarden:ro" # Vaultwarden
- "/volume1/docker/gitea/data/gitea/log:/gitea:ro" # Gitea
#- "/var/log/auth.log:/log/host_ssh_auth.log:ro" # SSH sur l'hôte (Synology)

View File

@ -1,4 +1,4 @@
# /volume1/docker/fail2ban/filter.d/bitwarden_rs-admin.conf
# /volume1/docker/fail2ban/filter.d/vaultwarden-admin.conf
[INCLUDES]
before = common.conf

View File

@ -1,4 +1,4 @@
# /volume1/docker/fail2ban/filter.d/bitwarden_rs.conf
# /volume1/docker/fail2ban/filter.d/vaultwarden.conf
[INCLUDES]
before = common.conf

View File

@ -1,4 +1,4 @@
# /volume1/docker/fail2ban/jail.d/bitwarden_rs-admin.conf
# /volume1/docker/fail2ban/jail.d/vaultwarden-admin.conf
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
@ -27,11 +27,11 @@ action = %(action_mwl)s
backend = auto
[bitwarden_rs-admin]
[vaultwarden-admin]
enabled = true
port = 882,3012
# Doit correspondre au nom du fichier .conf dans le dossier filter.d
filter = bitwarden_rs-admin
filter = vaultwarden-admin
logpath = /bitwarden/bitwarden.log
logpath = /vaultwarden/vaultwarden.log

View File

@ -1,4 +1,4 @@
# /volume1/docker/fail2ban/jail.d/bitwarden_rs.conf
# /volume1/docker/fail2ban/jail.d/vaultwarden.conf
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
@ -27,11 +27,11 @@ action = %(action_mwl)s
backend = auto
[bitwarden_rs]
[vaultwarden]
enabled = true
port = 882,3012
# Doit correspondre au nom du fichier .conf dans le dossier filter.d
filter = bitwarden_rs
filter = vaultwarden
logpath = /bitwarden/bitwarden.log
logpath = /vaultwarden/vaultwarden.log