Fail2ban

From MyWiki
Revision as of 09:58, 2 November 2015 by George2 (Talk | contribs)

Jump to: navigation, search

fail2ban-client get postfix-spamers550 actionunban 111.222.333.444
I know I can work with IPTables directly: iptables -D fail2ban-ssh <number>
Use iptables -L -n to find the rule name then use fail2ban-client status to get the actual jail names. The rule name and jail name may not be the same but it should be clear which one is related to which.

fail2ban-client set ssh-iptables unbanip 158.223.37.13