- Plesk for Linux
- How to unban an IP address that has been banned by Fail2Ban via Plesk commands?
- Which command-line Plesk utility can I use to unban multiple IP addresses that have been banned by Fail2Ban?
Connect to a Plesk server via SSH.
List all banned IP addresses:
# plesk bin ip_ban --banned
Unban the IP address using the command below. Use IP address and jail name from step 2:
# plesk bin ip_ban --unban 203.0.113.2,plesk-panel
You can also unban multiple IP addresses by using a command that is similar to the following:
# plesk bin ip_ban --unban [;203.0.113.2,plesk-panel; 203.0.113.3,plesk-apache]
Note: Once unbanned, you may whitelist this IP addresses in Plesk at Tools & Settings > IP Address Banning (Fail2Ban) > Trusted IP Addresses.
To learn more about the
plesk bin ip_ban command-line utility, you should review the information on the following page of the Plesk Obsidian documentation: