How To Reset Jail And Unban IP Address From Fail2Ban Using Virtualmin

Skip to main content How to reset jail and unban IP address from Fail2Ban using Virtualmin
  1. Home
  2. How to reset jail and unban IP address from Fail2Ban using Virtualmin
I use Fail2ban to improve the security of my development server. From time to time it happens I set up some misconfiguration with new git users and got into problems when Fail2ban blocks my whole IP. Fortunately, there is an easy way to unban the IP. You don't need to wait for the Fail2ban period.

In my case, I use Debian with the Virtualmin control panel installed. It has a useful tool to run Command shell using the browser window. So if you have access to your Virtualmin even if your IP is blocked for SSH or SFTP connecting, you're in luck.

Just go to your Virtualmin and click the Command shell button with the prompt icon. Probably on your left bottom, depending on the theme selected. Or use the Alt+K shortcut. Mac users will use Option+K.

Fail2ban ublock IP

Now the command line will appear. Provide this command and hit the Enter:

fail2ban-client set sshd unbanip 00.00.00.00

Of course, replace the 00.00.00.00 with your own IP address. The more generic command to unblock selected IP address from Fail2ban is:

fail2ban-client set JAILNAME unbanip IP_ADDRESS

As you can see, you just have to provide which jail you would like to unblock.

Tags: security

Similar content

Raspberry Pi as a VPN server with WireGuard and OpenVPN support Raspberry Pi as a VPN server with WireGuard and OpenVPN support AVG 9.0: faster scanning, smarter firewall, better game support AVG 9.0: faster scanning, smarter firewall, better game support Mollom: Practical experience of antispam for comments Mollom: Practical experience of antispam for comments Jan Polzer

Written by Jan Polzer

Drupal & Symfony specialist. Acquia Certified Developer and Site Builder. Web Development Director at Lesensky.cz. Author of several books about Drupal, blogger, traveling and sailing lover.

@PolzerJan LinkedIn Polzer-SW.com

Search

Search

Latest content

Blockera: when you want WordPress with the Gutenberg block editor on steroids Blockera: when you want WordPress with the Gutenberg block editor on steroids Drupal 7 is over. A look back at the popular content management system Drupal 7 is over. A look back at the popular content management system DrupalCamp Poland 2024: tips for developers and ideas for marketing and teamwork DrupalCamp Poland 2024: tips for developers and ideas for marketing and teamwork How to play MP4 video in Gmail without downloading How to play MP4 video in Gmail without downloading How to do it yourself: repair Epson L355 and ink pad error How to do it yourself: repair Epson L355 and ink pad error

Tags & topics

Adobe Apple Backdrop burning conferences CSS database Drupal e-mail Firefox git Gmail Google Hugo internet Internet Explorer iPad JavaScript Linux macOS Microsoft Office photos PHP printers Python Raspberry Pi security SEO utilities video web Windows WordPress More

Tag » How To Unban Ip Fail2ban