• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

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