IP Guard

plugin banner

IPGuard is a robust security plugin that empowers administrators to safeguard user accounts by implementing IP address-based lockdowns.

Author:Dynasty (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.4.3
Plugin version:1.23.2
Added to WordPress repository:21-02-2024
Last updated:24-03-2024
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:329
plugin download
Click to start download

IP Guard is a robust plugin that provides functionality to lock WordPress registered user accounts based on the IP address limit set by the administrator.

The plugin includes many features with a simple interface and uses the wp_mail function to send emails for notifications on locked and unlocked activities. This approach helps enhance security by monitoring and restricting access based on IP addresses, providing an additional layer of protection for user accounts.

For example, if the administrator set allowed IP address for registered users should be 2, once a user reached the limit which is 2, the account gets automatically locked and display a error message on the login page. The admin can decide to manually unlock the account or the user can wait 7 days for an automatic unlock.

Tested with:-
Login/Signup Popup (Inline Form + Woocommerce) plugin..

Features of IP Guard

  1. Locking mechanism that automatically locks accounts based on set IP address

  2. Automatically sends mail notifications for locked and unlocked activities

  3. A admin locked accounts page which displays locked accounts, username and a button for manual unlocking. Note – automatic unlock of user accounts is set to 7 days

  4. A admin logs page which displays the detected IP address, username and country

  5. A admin settings page for configuration of the plugin such as setting the maximum IP address allowed, body text for locked and unlocked emails, custom mail notification logo and copyright text

  6. A user statistics page which displays total number of registered users, administrators and locked accounts

  7. Similar IP in pattern, structure or share the same first and second octets wont get locked


Thanks to the provider for the following services and REST APIs for free.

https://ipinfo.io/ (IPv4, IPv6 / free)


IPGuard is an open-source project and welcomes all contributors from code to design, and implement new features. For more info Contributor’s Handbook for all the details on how you can help.