Skip to content
  • Log In
  • Register
WordPress.org

English (New Zealand)

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress

Plugins

  • My Favourites
  • Beta Testing
  • Developers
Download

CloudGuard

By pipdig
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Use the power of the cloud and a global CDN to restrict access to your login page.

CloudGuard brings global and cloud driven protection to your login page. Using Cloudflare’s free Geolocation service, this super lightweight plugin restricts access to your login page, allowing access to only your chosen countries. This means that any login attempts from the rest of the world will be automatically blocked.

Additionally, this plugin tracks any unauthorized login attempts and displays them on a world map in your dashboard.

Main Features

  • Protect your login page globally.
  • Reduce server load.
  • Country based IP ranges constantly updated by Cloudflare.
  • Monitor login attempts via your dashboard.
  • Block access to the login page or redirect to a URL.

Why Cloudflare’s Geolocation?

There are other plugins which can restrict your login page by geographic location. However, these plugins use your server to detect the IP and compare this to a geographic location. This adds extra overhead to your site, takes up space on your server, and requires frequent updates to keep the IP list relevant.

CloudGuard is different. Since we leverage Cloudflare’s geolocation service, your server simply has to read the data, rather than compute and store it locally. Cloudflare does the grunt work, leaving your site safe, secure and optimized.

Note: This plugin requires that you have an account (either free or premium) on Cloudflare with Geolocation enabled.

Has this free plugin helped you? Please consider leaving a rating 🙂

Screenshots

  • Track login attempts from your dashboard.
  • Global view of login attempts.

Installation

  1. Go to the “Plugins > Add New” page in your WordPress dashboard.
  2. Search for “CloudGuard” and click the install button.
  3. Once installed, go to “Settings > CloudGuard” to complete the setup.

Reviews

Easy setting and work great for me

Bhisittha November 14, 2022
Just enter two letters for the country code on the setting page. This plugin keeps my sites away from more than a thousand hits from attackers! Thank you.

Perfect

mahoney April 5, 2022
Works very well along with WordFence

Great plugin

apaunovski September 29, 2022
This plugin dramatically increases my website's security and keeps bad actors out of my admin area. I have a local business. My website does not target international audiences. It does not allow user registration. By restricting login possibilities only to my home country, I block 99% of attackers from my site.

Great Plugin

dagazarcane January 9, 2022
This is a great plugin as it locks my login page to one country only and stops the attempted access.

Protecting my login pages for several years

joefletcher January 8, 2022
Been using this for several years. Seems to do the trick pretty well. Crazy see how many different countries are trying to log into my admins.

Awesome!

jmflores16 May 21, 2021
I had problems with some "spam" users registration. I installed this plugin and the problem is solved. Very efficient.
Read all 25 reviews

Contributors & Developers

“CloudGuard” is open source software. The following people have contributed to this plugin.

Contributors
  • pipdig

“CloudGuard” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “CloudGuard” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.4

  • Account for “unknown” locations from Cloudflare.

1.4.3

  • Block login attempts via XMLRPC, unless Jetpack is installed.
  • WP 5.6 compatibility.

1.4.2

  • Fix flag image sources.

1.4.1

  • Add nonce check to “clear stats” button.
  • Load assets locally rather than Cloudflare CDN.

1.4.0

  • Option to redirect blocked countries to a URL.

1.3.3

  • Fix issue with new lower case geolocation country codes from Cloudflare.

1.3.1

  • No longer requires Cloudflare plugin to operate.
  • Update country list.
  • Minor refactoring.

1.3

  • Add your own custom message if someone is blocked.

1.2

  • Add option to reset stats in dashboard widget.

1.1

  • Track login attempts on a global map.

1.0

  • Initial release!

Meta

  • Version: 1.4.4
  • Last updated: 5 months ago
  • Active installations: 1,000+
  • WordPress Version: 4.9 or higher
  • Tested up to: 6.1.1
  • Languages:

    English (US), Russian, Spanish (Spain), Spanish (Venezuela), and Ukrainian.

    Translate into your language

  • Tags:
    cloudflaregeolocationiploginsecurity
  • Advanced View

Ratings

See all
  • 5 stars 24
  • 4 stars 0
  • 3 stars 1
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • pipdig

Support

Issues resolved in last two months:

1 out of 1

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

English (New Zealand)

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry