• 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 Implement Fail2Ban banning on country basis

Bossman

Basic Pleskian
I am trying to implement solution which will ban IP on country basis, i know that Juggernaut can do that but in my env that module was causing spontaneous firewall block for all traffic, so i am just searching other way to ban country based on MaxMind GeoIP databases.

Does anyone have heard of such solution, which can be integrated in Plesk ?
 
IgorG i already did that, but i know Pleask team has a lot of work, so i guess it will take time to have such function in plesk
 
I am trying to implement solution which will ban IP on country basis, i know that Juggernaut can do that but in my env that module was causing spontaneous firewall block for all traffic, so i am just searching other way to ban country based on MaxMind GeoIP databases.
@Bossman did you open a support ticket about this? I would be happy to try to diagnose the issue for you. You should note that we also support country blocking at the web server level too using the mod_maxminddb Apache module.
 
I do have some customers that legitimately go to "spam countries", so I would hate to block them solely just because of their GeoIP rating..
However, it would be great if the fail2ban "maxretry" could be different for such users - that are already flagged by country..
 
Back
Top