Fail2ban-unban: Difference between revisions

From Karmaking
Jump to navigationJump to search
Created page with "fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE The hard part is finding the right jail: Use iptables -L -n to find the rule name... ...then use fail2ban-..."
 
No edit summary
Line 1: Line 1:
fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE
<code>fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE</code>


The hard part is finding the right jail:
Finding the right jail:


    Use iptables -L -n to find the rule name...
<code>iptables -L -n</code>
    ...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.

Revision as of 12:42, 10 September 2017

fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE

Finding the right jail:

iptables -L -n