Table des matières
Guide du débutant pour configurer un bloqueur de publicité au niveau du réseau
Étape 1: Téléchargez et gravez le système d’exploitation Raspbian
Étape 2: préparer l’installation sans tête
Étape 3: configurez votre Raspberry Pi
Étape 4: connexion à distance au Raspberry Pi
Étape 5: Mettre à jour et sécuriser le Raspberry Pi
[ssh] # Services where this rule will apply.# Enables this rule.
enabled = true# Port to block out. We can just enter ssh sicne that is how the pi will be accessed.
port = ssh# Fail2Ban default filter library.
filter = sshd# Path for the log file.
logpath = /var/log/auth.log# Time in seconds where ban will be effective.
bantime = 6000# Action that will be used when the below threshold is reached.
banaction = iptables-allports# Window of time in seconds where the re-tries will stack.
# Here, 3 failed tries within 900 seconds will result in a ban.
findtime = 900# Number of re-tries allowed for a client connection.
maxretry = 3

