Difference between revisions of "Fail2ban"
From MyWiki
Line 2: | Line 2: | ||
I know I can work with IPTables directly: iptables -D fail2ban-ssh <number><br> | I know I can work with IPTables directly: iptables -D fail2ban-ssh <number><br> | ||
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.<br> | 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.<br> | ||
+ | fail2ban-client set ssh-iptables unbanip 158.223.37.13<br> |
Revision as of 09:58, 2 November 2015
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