• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Search results

  1. O

    Resolved Plesk Firewall [Do I have to open all ports when switching from another firewall to Plesk Firewall?]

    Hello, If I I want to use the Plesk Firewall instead of Ionos Firewall, I need to open all ports in Plesk Firewall before remove them from Ionos ? Note: I want to switch to Plesk Firewall so that I can use the feature of denying countries.
  2. O

    Resolved Block specific countries through Plesk

    @Peter Debik when I asked you the question, I had already tested it and there was no problem. I just wanted to make sure if the code structure was good since you told me that NGINX and IF can cause problems. As for the test, I always do it. Then I ask questions just to check, that's how we...
  3. O

    Resolved Block specific countries through Plesk

    If I use the function multiple times, each time, for 1 country, like: if ($geoip2_data_country_code = "COUNTRY 1") { return 403; } if ($geoip2_data_country_code = "COUNTRY 2") { return 403; } etc... It's not a problem, right ?
  4. O

    Resolved Block specific countries through Plesk

    It's correct now, right ? # top of crontab MAILTO=your@email.com 0 12 * * 3 /usr/local/bin/geoipupdate # end of crontab
  5. O

    Resolved Block specific countries through Plesk

    Apparently, i must run a weekly update for geoipupdate, so I need to create a cron tab. This cron tab below is correct ? # top of crontab MAILTO=your@email.com 0 12 * * 3 geoipupdate # end of crontab
  6. O

    Resolved Block specific countries through Plesk

    Got it. I have successfully configured this in my server. All work as expected. If I want to combine multiple ISO CODE (Countries) in 1 function, is it possible ? I have tried with , and space, but it doesn't work. if ($geoip2_data_country_code = "XX") { return 403; }
  7. O

    Issue ModSecurity 3.0 + OWASP | Geo2ip lite

    Hello, For the the Workaround II, when I try to save the custom directives in ModSecurity, this error occur: Invalid ModSecurity configuration: nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /etc/nginx/modsecurity.d/main.conf. Line: 6. Column: 44. Expecting an action...
  8. O

    Resolved Block specific countries through Plesk

    Hello @Peter Debik , Sincerely, it's urgent now. I receive a lot of fake comments each day from a lot of IPs based in Russia/ China. If I solve this, no bad bots from Russia and China can access to my site. Can you confirm in the last post that the documentation apply for Plesk Obsidian ?
  9. O

    Resolved Block specific countries through Plesk

    Link: (Plesk for Linux) Setting up IP Geolocation for a Website
  10. O

    Resolved Block specific countries through Plesk

    @Peter Debik I found this in the documentation (another way) https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/websites-and-domains/extended-website-management/plesk-for-linux-setting-up-ip-geolocation- for-a-website.80011/ Have you already tried it?
  11. O

    Resolved Block specific countries through Plesk

    Okay, I'll wait so. Do I need to uninstall Geo2ip lite database PACKAGE or I can keep it ?
  12. O

    Resolved Block specific countries through Plesk

    @Peter Debik , I have tried again, I can't save this Custom directives in ModSecurity. I use Nginx + ModSec 3.0 + OWASP . Maybe this Workaround II work only for Apache ?
  13. O

    Resolved Block specific countries through Plesk

    @Peter Debik , I have checked this file /etc/nginx/modsecurity.d/main.conf but I see nothing in Line 6
  14. O

    Resolved Block specific countries through Plesk

    Hello @Peter Debik , When I try to save the custom directives in ModSec, this error occur: Invalid ModSecurity configuration: nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /etc/nginx/modsecurity.d/main.conf. Line: 6. Column: 44. Expecting an action, got: Include...
  15. O

    Resolved Block specific countries through Plesk

    Got it. I use already ModSec 3.0 + Nginx + OWASP. I'll try this night to install Geo2ip lite database and configure it with ModSec. Thanks.
  16. O

    Resolved Block specific countries through Plesk

    Got it. Thank you. By the way, Geo2ip lite database work with the web server Apache and Nginx, no difference, right ?
  17. O

    Resolved Block specific countries through Plesk

    Hello, I want to block few countries through Plesk via ModSec. I have read the documentation in this url: https://support.plesk.com/hc/en-us/articles/12377285410839 If I apply the Workaround 2, the Website hosted in the server will be unavailable in the blocked countries, right ? Thank you.
  18. O

    Resolved fail2ban issue

    I have read your question. You have a problem with Fail2ban, right ?
  19. O

    Resolved fail2ban issue

    you can try this: sudo /etc/init.d/fail2ban stop sudo rm -rf /var/lib/fail2ban sudo /etc/init.d/fail2ban start sudo reboot
  20. O

    Resolved fail2ban issue

    Take a look here, it may help you: https://talk.plesk.com/threads/fail2ban-sqlite-database-huge.360658/
Back
Top