• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Plesk firewall with IP range?

Azurel

Silver Pleskian
In Plesk Home > Extensions > Firewall > Modify Plesk firewall rules I have add a custom rule to block intense crawlers. Is here a way to block ip ranges? I can only add a single IP.

Or is here a way to do this with extension fail2ban?

1. How I can ban here a ip range?
2. How I can add a rule against crawling? (not media data like images, js, css, only webpage)
 
1. How I can ban here a ip range?
at the Plesk firewall you can "Add IP address or network" for example like => xxx.xxx.xxx.xxx/30 there are enough online tools available to calculate IP Range to CIDR

2. How I can add a rule against crawling? (not media data like images, js, css, only webpage)
If you are talking about to stop unwanted crawler you can enable in fail2ban extension the jail "plesk-apache-badbot" and in the associated jail filter you also can add other unwanted crawlers too. For the jail set the settings like maxretry & findtime & bantime to your needs.

see also: Protection Against Brute Force Attacks (Fail2Ban)
 
Last edited:
1. Thanks! Ah, "Network" means here CIDR. I was no sure, because there is no example in the doc what excatly (syntax) to write for "network".

2. I have activated plesk-apche-badbot and take a look its help. Thanks again.
 
Back
Top