Overview
To unban an IP in Plesk, go to Tools & Settings > IP Address Banning (Fail2Ban) > Banned IP Addresses, select the address and click Unban, or run plesk bin ip_ban --unban 203.0.113.2,plesk-panel over SSH with the IP and the jail that banned it. Then find out what triggered the ban and fix it, or the same IP will be blocked again within minutes.
This guide is for Plesk on Linux administrators whose own office, a client or a developer has suddenly lost access to Plesk, a website or email from one location. The giveaway is a connection that times out (not a login error) from one network while everything works on mobile data. You’ll confirm it’s a Fail2Ban ban, unban the address, find the device causing it, and set up trusted IPs and jail settings so it doesn’t keep happening.
Prerequisites
- Plesk Obsidian on Linux with the Fail2Ban component installed, and admin access to Plesk.
- A way in from a different IP than the banned one: your phone on mobile data, a VPN, or the server provider’s console. You can’t reach a server that has banned you.
- SSH root access for the command-line steps.
- The public IP of the location that’s blocked. On a computer there, search “what is my IP”.
Step-by-Step: Unban an IP in Plesk

Step 1: Confirm the IP is banned
From a working connection, log in over SSH and list the bans:
plesk bin ip_ban --banned
The output shows each banned address with the jail that banned it and when:
Banned IP addresses:
203.0.113.2 plesk-dovecot Nov 24, 2026
203.0.113.2 recidive Nov 24, 2026
The jail name is the clue to the cause: plesk-panel is failed Plesk logins, plesk-dovecot and plesk-postfix are failed mailbox logins, ssh is SSH, plesk-wordpress is WordPress logins, plesk-modsecurity is web requests blocked by the web application firewall, and recidive is an IP that was banned repeatedly by the other jails. If the IP isn’t in the list, Fail2Ban isn’t the problem; skip to Step 6.
Step 2: Unban the IP
In Plesk, open Tools & Settings > IP Address Banning (Fail2Ban), go to the Banned IP Addresses tab, tick the address and click Unban. Or from SSH, give the IP and jail:
plesk bin ip_ban --unban "203.0.113.2,plesk-dovecot;203.0.113.2,recidive"
Unban the IP from every jail it appears in. If it’s also in recidive, unbanning it from the original jail alone leaves it blocked, because the recidive jail blocks repeat offenders across Plesk and its services for a week.
Step 3: Find what caused the ban
Unbanning without fixing the cause just resets the clock. Search the Fail2Ban log for the address (it’s also on the Logs tab in Plesk):
grep "203.0.113.2" /var/log/fail2ban.log | tail -20
Lines such as [plesk-dovecot] Found 203.0.113.2 followed by Ban 203.0.113.2 confirm the jail. For mail jails, look at the mail log to see which mailbox failed. On AlmaLinux and Rocky Linux it’s /var/log/maillog; on Ubuntu and Debian it’s /var/log/mail.log:
grep "203.0.113.2" /var/log/maillog | grep -i "auth failed" | tail -10
The user=<...> part names the mailbox. On the servers I look after, it’s usually a phone, tablet or old laptop in the office still trying a mailbox password that was changed. Every device behind that office’s router shares one public IP, so one stale phone gets the whole office banned. Update the password on that device (or remove the account from it), and only then unban.
For plesk-panel, check who was failing to log in under Tools & Settings > Action Log. For plesk-modsecurity, the request that tripped the firewall is in the domain’s ModSecurity log under Logs.
Step 4: Add trusted IPs for fixed locations
An address on the trusted list is never banned. In Plesk, go to the Trusted IP Addresses tab and click Add Trusted IP. You can enter a single IP, a range in CIDR form such as 203.0.113.0/28, or a hostname. From SSH:
plesk bin ip_ban --add-trusted 203.0.113.2
plesk bin ip_ban --trusted
Warning: only trust addresses you control and that don’t change, such as your office’s static IP or your monitoring service. Trusting a home broadband IP that your provider reassigns next month means a stranger inherits a pass through your brute-force protection.
Step 5: Tune the ban settings and jails
See the current settings:
plesk bin ip_ban --info
Plesk’s default bans an IP after 5 failures within the detection window. For a server with many mail users, I’d keep the failure count at 5 but use a longer ban, so attackers waste their time while a real user’s lock-out still expires on its own. This sets a 30-minute ban, a 10-minute detection window and 5 retries:
plesk bin ip_ban --update -ban_period 1800 -ban_time_window 600 -max_retries 5
Avoid a ban period of -1 (permanent) unless you’re happy to unban legitimate users by hand every time. To see the jails and switch one on, for example WordPress login protection:
plesk bin ip_ban --jails
plesk bin ip_ban --enable-jails plesk-wordpress
Step 6: Still blocked? Check the other layers
Fail2Ban isn’t the only thing in Plesk that can block an address. If the IP isn’t banned but still can’t connect, check:
- Plesk Firewall (Tools & Settings > Firewall), if the extension is installed, for a deny rule on that IP or port.
- Imunify360, if installed, which keeps its own blacklist and graylist separate from Fail2Ban. Plesk’s trusted IP list doesn’t override it.
- Plesk’s built-in login protection, which blocks repeated failed panel logins for a few minutes independently of Fail2Ban.
- Your provider’s network firewall, and whether the site’s DNS still points to this server.
Common Issues & Troubleshooting
IP Address Banning (Fail2Ban) is missing from Tools & Settings
Cause: The Fail2Ban component isn’t installed.
Fix: Install it from Tools & Settings > Updates > Add/Remove Components, or over SSH:
plesk installer --select-release-current --install-component fail2ban
Fail2Ban won’t start after enabling a jail
Cause: The jail watches a log file that doesn’t exist, for example an FTP jail on a server where that FTP service isn’t installed. The service log shows a message along the lines of “Have not found any log file for … jail”.
Fix: Check the error and test the configuration, then disable the jail that points at the missing log:
systemctl status fail2ban --no-pager
fail2ban-client -t
The same IP is banned again a few minutes after unbanning
Cause: The device causing the failures is still running, or the IP is still in another jail.
Fix: Repeat Step 3 to find the mailbox or login, fix that device first, and unban the IP from every jail listed in Step 1.
The site works but shows 502 or 504 errors, not a timeout
Cause: That’s not a ban. A banned IP gets no response at all.
Fix: See 502 Bad Gateway in Plesk or Plesk nginx failed to start.
Running Fail2Ban on a server without Plesk? Installing and configuring Fail2Ban on Ubuntu covers jail.local and custom jails, and securing your Linux server covers the rest of the basics. Plesk can be installed on our VPS plans with full root access for all of the commands above.
Frequently Asked Questions
How do I unban an IP address in Plesk?
Go to Tools & Settings > IP Address Banning (Fail2Ban) > Banned IP Addresses, select the IP and click Unban. Over SSH, run plesk bin ip_ban –unban with the IP and the jail name shown by plesk bin ip_ban –banned.
Why does Plesk keep banning my office IP?
Usually a phone, tablet or laptop in the office keeps trying an old mailbox password, and every device behind the router shares one public IP. Find the mailbox in the mail log, fix the device, then unban the IP.
How do I whitelist an IP in Plesk Fail2Ban?
Add it on the Trusted IP Addresses tab under Tools & Settings > IP Address Banning (Fail2Ban), or run plesk bin ip_ban –add-trusted with the IP. Only trust static addresses you control.
What is the recidive jail in Plesk?
It watches Fail2Ban’s own log and bans IPs that other jails have banned repeatedly, blocking them from Plesk and its services for a week. An IP in recidive has to be unbanned from that jail as well.
I unbanned the IP but still can’t connect. What else blocks it?
Check the Plesk Firewall, Imunify360 if it’s installed, Plesk’s built-in login protection and your provider’s network firewall. Fail2Ban’s trusted list doesn’t override those.