Skip to content

Instantly share code, notes, and snippets.

@hfreire
Last active May 10, 2019 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hfreire/a68fd58a8d7b64311f6ac12760a0dd18 to your computer and use it in GitHub Desktop.
Save hfreire/a68fd58a8d7b64311f6ac12760a0dd18 to your computer and use it in GitHub Desktop.
Ban/unban an IP address from Fail2ban

Ban IP address 1.1.1.1 jailed within ssh

fail2ban-client set dovecot banip 1.1.1.1

Unban IP address 1.1.1.1 jailed within ssh

fail2ban-client set dovecot unbanip 1.1.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment