• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Cloudflare and Firewall rules

Pascal_Netenvie

Regular Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
18.0.53
Hello,
As i use Cloudflare for domains i aim to autorize its IP in Fail2ban & Firewall.
So i have whitelisted Cloudflare IP in fail2ban then i try to add it in Firewall with these CLI commands :
Code:
/usr/local/psa/bin/modules/firewall/settings -e
/usr/local/psa/bin/modules/firewall/settings -c
/usr/local/psa/bin/modules/firewall/settings -s -name 'Cloudflare In' -direction input -action allow -remote-addresses "173.245.48.0/20,103.21.244.0/22,103.22.200.0/22,103.31.4.0/22,141.101.64.0/18,108.162.192.0/18,190.93.240.0/20,188.114.96.0/20,197.234.240.0/22,198.41.128.0/17,162.158.0.0/15,104.16.0.0/13,104.24.0.0/14,172.64.0.0/13,131.0.72.0/22"
/usr/local/psa/bin/modules/firewall/settings -a
/usr/local/psa/bin/modules/firewall/settings -c
At CLI it seems ok and it display "The firewall rules were confirmed."

But at same moment in Plesk GUI i have a message saying rulles are being applied, and after a long time an error message saying that new and previous rules can't be checked and Firewall rules have been reseted to default.
And finally when i check by CLI (or GUI) all my rules seems to be ok and applied.

What is the point ? Ok or not ?
 
Ok i made this configuration change.

At SSH modifications seems ok :
1688373432539.png

But at GUI always same problem :
1688373440045.png

There is another problem here ...
 
Back
Top