• 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 Firewall IP Ban (fail2ban) Wordpress

Alaa Mansour

Basic Pleskian
Hello, everybody, after I have migrated the server, fail2ban no longer ban ip addresses automatically, and put them in a list in the firewall, I have to di it manually, even though the rules of the jails are as same as previous.
I can see the IP address in the list of banned ip under the jail, but I want a permanent ban in the firewall.

what I'm missing?
thanks
Screenshot 2022-01-05 at 08.12.34.png
Screenshot 2022-01-05 at 08.17.18.png
Screenshot 2022-01-05 at 08.11.56.png
 
I am trying to understand your issue but I can't. I believe you have wrong expectations. Fail2Ban doesn't ban anything automatically (hence I am probably misunderstanding you - I am not native English speaker). It will ban only if a specific trigger happens. From your screenshot it seems it is working fine.

Moreover (this is open for debate) but I don't think you'll have any tangible success in permanently adding some IP ranges into anything because most of the serious attackers rotate their IP ranges anyway. Meaning that they change their IP all the time.

That's why (for example) when you go to Fail2Ban settings you'll see that "IP address ban period" is set to a very short amount of time, not permanent. You can set it to whatever but I don't think this will yield any success in practice. Actually opposite. It can cause practical issues for someone legit. If you closely inspect Wordfence firewall (as another example), they also suggest banning for only a couple of hours/minutes, not permanently.
 
I am trying to understand your issue but I can't. I believe you have wrong expectations. Fail2Ban doesn't ban anything automatically (hence I am probably misunderstanding you - I am not native English speaker). It will ban only if a specific trigger happens. From your screenshot it seems it is working fine.

Moreover (this is open for debate) but I don't think you'll have any tangible success in permanently adding some IP ranges into anything because most of the serious attackers rotate their IP ranges anyway. Meaning that they change their IP all the time.

That's why (for example) when you go to Fail2Ban settings you'll see that "IP address ban period" is set to a very short amount of time, not permanent. You can set it to whatever but I don't think this will yield any success in practice. Actually opposite. It can cause practical issues for someone legit. If you closely inspect Wordfence firewall (as another example), they also suggest banning for only a couple of hours/minutes, not permanently.
I have added all these IP address manually, I have enabled (IP address ban period = 604800 seconds)
 
Back
Top