Skip to content

Instantly share code, notes, and snippets.

@bipinu
Last active June 5, 2020 16:29
Show Gist options
  • Save bipinu/89f8cf4612e461b6c035 to your computer and use it in GitHub Desktop.
Save bipinu/89f8cf4612e461b6c035 to your computer and use it in GitHub Desktop.
Reminder Commands
# Status
fail2ban-client status sshd
# Unban 1 or all
fail2ban-client unban --all
fail2ban-client unban <IP>
# OLD Command
# Generally JAIL_NAME is "ssh" or "sshd". Use "iptables -L -n" to test
fail2ban-client set <JAIL_NAME> unbanip <IP_ADDRESS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment