Sécuriser un serveur Ubuntu Linux
#cybersécurité #linux #ubuntu #serveur #hacker #scan #protection #sécurité #iptables #fail2ban #ssh #dev #git #github - voir videos @tutopalace IPTABLES - FAIL2BAN
Analyse du fichier de config ajouté et commandes (cli)
Commandes :
sudo fail2ban-client status sshd
sudo fail2ban-client set sshd banip xxx.xxx.xx.xxx
sudo fail2ban-client set sshd unbanip xxx.xxx.xx.xxx
file : # /etc/fail2ban/jail.d/jail.tutopalace.conf (voir ci-dessous)
Fichier de conf ajouté :
/etc/fail2ban/jail.d/jail.tutopalace.conf
[sshd]
/etc/fail2ban/jail.conf
enabled = true
port = 22
bantime = 1d
findtime = 30m
maxretry = 2
if use iptables
banaction = iptables
banaction_allports = iptables[type=allports]
backend = systemd
Playlist Docker & Ubuntu
• Docker Desktop - Ep 1 - installation (MacO...
Un pouce bleu ? Abonne toi. ;-)