Fail2Ban – unban IP

First, you need to connect to the terminal and find the right jail.

  • Open terminal
  • iptables -L -n to find the rule name, it could be quite messy so I recommend skip this step 🙂
  • fail2ban-client status to show names of all fail2ban jails
  • For F2B before v0.8.8
    • ffail2ban-client get YOURJAILNAMEHERE actionunban IPADDRESSHERE
  • For F2B v0.8.8 and later
    • fail2ban-client set YOURJAILNAMEHERE unbanip IPADDRESSHERE

Easy right?