Təhlükəsizlik
Block brute-force attacks with Fail2ban
Automatically ban IP addresses that try to guess passwords. · 3 dəq oxu
Bu səhifə hələlik ingilis dilindədir. Tərcümə tezliklə əlavə ediləcək.
apt -y install fail2ban
cat > /etc/fail2ban/jail.local <<'EOF'
[DEFAULT]
bantime = 1h
findtime = 10m
maxretry = 5
[sshd]
enabled = true
EOF
systemctl enable --now fail2ban
fail2ban-client status sshd
Unban an address:
fail2ban-client set sshd unbanip 203.0.113.10Mühəndislərin əllə qurduğu server sifariş edin və ya bizə yazın — 24/7 onlaynıq. Dəstək →