Skip to content

Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r

Netcloud24
Cloud Infrastructure Expert
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

 

Debian 12 veya Ubuntu 24.04 çal??t?ran VPS sunucunuzda Fail2ban’? kurmak ve yap?land?rmak, sunucunuzu brute force sald?r?lar?na kar?? korumak için önemlidir. A?a??daki ad?mlar? izleyerek ayarlayabilirsiniz.

Ad?m 1: Sistemini Güncelle

        sudo apt update && sudo apt upgrade -y
    

Ad?m 2: Fail2ban’? Kur

Fail2ban’? kurmak için a?a??daki komutu çal??t?r?n:

        sudo apt install fail2ban -y
    

Ad?m 3: Fail2ban’? Yap?land?r

Kurulumdan sonra Fail2ban’? yap?land?rman?z gerekir. Ana yap?land?rma dosyas? ?u adreste bulunmaktad?r:

        /etc/fail2ban/jail.conf
    

Bu dosyan?n bir kopyas?n? olu?turup ayarlar?n?z? özelle?tirmek önerilir:

        sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
    

Yerel yap?land?rma dosyas?n? düzenleyin:

        sudo nano /etc/fail2ban/jail.local
    

Bu dosyada, çe?itli hizmetler için ayarlar? yap?land?rabilirsiniz. Örne?in, SSH korumas?n? etkinle?tirmek için a?a??daki sat?rlar?n dahil oldu?undan emin olun:

Visual overview of Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
Visual overview: Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
        [sshd]
        enabled = true
        port    = ssh
        filter  = sshd
        logpath = /var/log/auth.log
        maxretry = 5
        bantime = 3600
    

Ad?m 4: Fail2ban’? Ba?lat ve Etkinle?tir

Fail2ban hizmetini ba?lat?n ve otomatik ba?latma için etkinle?tirin:

        sudo systemctl start fail2ban
        sudo systemctl enable fail2ban
    

Ad?m 5: Fail2ban’?n Durumunu Kontrol Et

Fail2ban’?n durumunu kontrol etmek ve hizmetlerinizi koruyup korumad???n? görmek için:

        sudo fail2ban-client status
    

Ad?m 6: Fail2ban Loglar?n? ?zle

Fail2ban loglar?n? izlemek için:

        sudo tail -f /var/log/fail2ban.log
    

Sonuç

Bu ad?mlar? izleyerek, VPS sunucunuzda Fail2ban’? ba?ar?yla kurup yap?land?rd?n?z. Bu, sunucunuzu yetkisiz eri?imden koruyacak ve güvenli?ini art?racakt?r!

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Windows VPS Portugal

Key topics covered in Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
Key topics covered in this NetCloud24 guide.

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Windows RDS (Remote Desktop Services)

Practical checklist for Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
Practical checklist for applying the guidance in this article.

Windows VPS

Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
Debian 12 ve Ubuntu 24.04'te Fail2ban Nas?l Kurulur ve Kullan?l?r
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.