fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:fail2ban

This is an old revision of the document!


Table of Contents

fail2ban

Installation

sudo apt update
sudo apt install fail2ban
sudo systemctl enable fail2ban
sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
sudo systemctl start fail2ban.service

Steuerung

sudo fail2ban-client status sshd
sudo fail2ban-client set <jail-name> unbanip <ip>
sudo fail2ban-client set <jail-name> banip <ip>
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/fail2ban.1680369681.txt.gz · Last modified: (external edit)