Title: IP Guard
Author: dynahsty
Published: <strong>2024 年 2 月 21 日</strong>
Last modified: 2024 年 3 月 24 日

---

搜索插件

![](https://ps.w.org/ip-guard/assets/banner-772x250.png?rev=3050473)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/ip-guard/assets/icon-128x128.png?rev=3050473)

# IP Guard

 作者：[dynahsty](https://profiles.wordpress.org/dynahsty/)

[下载](https://downloads.wordpress.org/plugin/ip-guard.zip)

 * [详情](https://cn.wordpress.org/plugins/ip-guard/#description)
 * [评价](https://cn.wordpress.org/plugins/ip-guard/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ip-guard/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ip-guard/#developers)

 [支持](https://wordpress.org/support/plugin/ip-guard/)

## 描述

**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

### Attributions

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

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

### Contributors

IPGuard is an open-source project and welcomes all contributors from code to design,
and implement new features. For more info [Contributor’s Handbook](https://developer.wordpress.org/block-editor/contributors/)
for all the details on how you can help.

## 屏幕截图

[⌊https://i.postimg.cc/L6Fj14xC/Screenshot-1.png⌉⌊https://i.postimg.cc/L6Fj14xC/
Screenshot-1.png⌉[

https://i.postimg.cc/L6Fj14xC/Screenshot-1.png

[⌊https://i.postimg.cc/SRWD0s4x/Screenshot-2.png⌉⌊https://i.postimg.cc/SRWD0s4x/
Screenshot-2.png⌉[

https://i.postimg.cc/SRWD0s4x/Screenshot-2.png

[⌊https://i.postimg.cc/yNGZY7JT/Screenshot-2.png⌉⌊https://i.postimg.cc/yNGZY7JT/
Screenshot-2.png⌉[

https://i.postimg.cc/yNGZY7JT/Screenshot-2.png

[[

## 安装

 1. Upload \”IPGuard plugin\” to the \”/wp-content/plugins/\” directory or uploading
    the file to your web server.
 2. Activate the plugin through the \”Plugins\” menu in WordPress admin dashboard.
 3. Enjoy the full functionality of IPGuard
 4. Tested with:- Login/Signup Popup (Inline Form + Woocommerce) plugin..

## 常见问题

How does the IPGuard work?

IPGuard is a robust security plugin that empowers administrators to safeguard user
accounts by implementing IP address-based lockdowns, enhancing your website\’s overall
security. It’s a perfect plugin for admin who doesn’t want to allow users sharing
as the locking mechanism automatically lock accounts based on allowed IP address
per account.

Does it notify users?

Yes, the plugin sends notifications to the user based on locked and unlocked activities.
It uses the wp_mail function, so make sure you\’ve set your SMTP correctly before
using our plugin.

Have issues/questions or want to contribute?

You can post in the support forum or consider reaching me at holakhunle@gmail.com

Can I customize ban notifications and other things?

The plugin provides a settings page whereby you can set the maximum IP address allowed,
locked email body text, and unlocked email body text. It also includes a submenu
page that displays IP logs detected such as the username, ip addresses, and country.

## 评价

此插件暂无评价。

## 贡献者及开发者

「IP Guard」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ dynahsty ](https://profiles.wordpress.org/dynahsty/)

[帮助将「IP Guard」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ip-guard)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ip-guard/)，查看[SVN仓库](https://plugins.svn.wordpress.org/ip-guard/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/ip-guard/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ip-guard/)。

## 更新日志

#### 1.23.2

 * Minor bug fixes

#### 1.23.1

 * Similar IP in pattern, structure or share the same first and second octets wont
   get locked
 * Added a warning notification mail if users are reaching the threshold

#### 1.23

 * Fixed locking mechanism errors for similar ip address
 * Improved UI Design for Locked account, Settings and Logs page

#### 1.22

 * Added logs page for displaying detected IP logs statistics
 * Added User Statistics to display total number of users, admins and locked accounts

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.23.2**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.4.8**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ip-guard/)
 * 标签
 * [block ip](https://cn.wordpress.org/plugins/tags/block-ip/)[login protect](https://cn.wordpress.org/plugins/tags/login-protect/)
   [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/ip-guard/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/ip-guard/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ip-guard/reviews/)

## 贡献者

 *   [ dynahsty ](https://profiles.wordpress.org/dynahsty/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ip-guard/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://flutterwave.com/donate/dmoszdenwggm)