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
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE
find out jail name:


The hard part is finding the right jail:
fail2ban-client status


    Use iptables -L -n to find the rule name...
then:
    ...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 JAILNAME unbanip IP

Latest revision as of 15:35, 16 February 2023

find out jail name:

fail2ban-client status

then:

fail2ban-client set JAILNAME unbanip IP