Skip to content

Instantly share code, notes, and snippets.

@gpassarelli
Created January 20, 2015 19:30
Show Gist options
  • Save gpassarelli/7d97e209a9b08ce7d6d5 to your computer and use it in GitHub Desktop.
Save gpassarelli/7d97e209a9b08ce7d6d5 to your computer and use it in GitHub Desktop.
Remove blocked ip from Fail2Ban
#Get sudo user
sudo -s
#List iptables
iptables -L -n
#Remove the desired ip
iptables -D fail2ban-ssh -s banned_ip -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment