Fail2Ban

From Objectif Client Inc
Jump to navigation Jump to search

Installation

Web site Fail2Ban

apt-get install fail2ban

Configuration

  1. /etc/fail2ban/fail2ban.conf

Cheat Sheet

List all Ip Banned

  1. Unban an Ip adress from sshd jail

Run fail2ban in interactive mode

fail2ban-client -i
fail2ban>
  1. Get status for sshd
status sshd

Unban a specific adress

set sshd unbanip 192.168.1.1