Weblog

Fail2Ban auf Slackware installieren

12ter März 2026, Daniel Schildt

# wget http://sbopkg.daniel-schildt.de/15.0/fail2ban-1.1.0-x86_64-1_SBo.tgz

# installpkg fail2ban-1.1.0-x86_64-1_SBo.tgz

root

# chmod +x /etc/rc.d/rc.fail2ban

# vi /etc/rc.d/rc.local

+ if [ -x /etc/rc.d/rc.fail2ban ] + then + /etc/rc.d/rc.fail2ban start + fi

# vi /etc/rc.d/rc.local_shutdown

+ if [ -x /etc/rc.d/rc.fail2ban ] + then + /etc/rc.d/rc.fail2ban stop + fi

# chmod +x /etc/rc.d/rc.local_shutdown

# /etc/rc.d/rc.fail2ban start

root

# vi /etc/ssh/sshd_config

+ SyslogFacility AUTHPRIV

# /etc/rc.d/rc.sshd restart

root

# vi /etc/fail2ban/jail.local

[sshd] enabled = true

# /etc/rc.d/rc.fail2ban restart

# fail2ban-client status sshd