• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Fail2Ban blocks local host IP despite whitelisted

Bitpalast

Plesk addicted!
Plesk Guru
Plesk 12.5.30 #48, CentOS 7.2

The Wordpress jail has blocked the public IPv4 of the local host, although it is whitelisted in the "trusted addresses" section.

The same is happening with the Apache jail. It is also blocking a whitelisted public IPv4 address.

Its the first time that this occurs on our systems. Unblocking works, but as Nginx forwards continue to Apache, fail2ban blocks again. It seems as if it ignores the whitelist.
 
Last edited:
Adding the IP to /etc/fail2ban/jail.conf into ignoreip variable and restarting fail2ban does not solve the issue.
 
It seems that the script example provided in https://kb.plesk.com/en/122407 is missing a very important point: The script example adds an "ignoreip" instruction to the /etc/fail2ban/jail.local file. However, this instruction overrides the default whitelist. Plesk only edits the default whitelist when changes are made in the GUI whitelist function of fail2ban, but it does not add the IPs to the individual jail's ignoreip command. That seems to cause the issue that Apache and Wordpress jails ban the public IPv4 address of the host although it is listed in the whitelist. It is listed in the default whitelist, but it is not listed in the jails' whitelists.

So either the script examples in https://kb.plesk.com/en/122407 should be updated with a hint that besides the localhost IP the public IPv4 of the server should be added, or the "ignoreip" command should be omitted from the examples in general.
 
Back
Top