Fail2Ban: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=== Installation === Web site [http://http://www.fail2ban.org Fail2Ban] <syntaxhighlight lang="bash">apt-get install fail2ban</syntaxhighlight> === Configuration === # /etc/f...") |
|||
Line 23: | Line 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== Unban a specific adress ==== | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
set sshd unbanip 192.168.1.1 | set sshd unbanip 192.168.1.1 | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 19:03, 19 June 2016
Installation
Web site Fail2Ban
apt-get install fail2ban
Configuration
- /etc/fail2ban/fail2ban.conf
cheat sheet
List all Ip Banned
- Unban an Ip adress from sshd jail
Run fail2ban in interactive mode
fail2ban-client -i
fail2ban>
- Get status for sshd
status sshd
Unban a specific adress
set sshd unbanip 192.168.1.1