Title: LungoTech IP Guard
Author: ltechid
Published: <strong>August 11, 2026</strong>
Last modified: August 11, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/lungotech-ip-guard.svg)

# LungoTech IP Guard

 By [ltechid](https://profiles.wordpress.org/ltechid/)

[Download](https://downloads.wordpress.org/plugin/lungotech-ip-guard.4.1.3.zip)

 * [Details](https://wordpress.org/plugins/lungotech-ip-guard/#description)
 * [Reviews](https://wordpress.org/plugins/lungotech-ip-guard/#reviews)
 *  [Installation](https://wordpress.org/plugins/lungotech-ip-guard/#installation)
 * [Development](https://wordpress.org/plugins/lungotech-ip-guard/#developers)

 [Support](https://wordpress.org/support/plugin/lungotech-ip-guard/)

## Description

**LungoTech IP Guard** is a robust and lightweight security plugin designed to block
malicious IP addresses and CIDR ranges directly at the server level via your `.htaccess`
file. By blocking unwanted traffic before it hits WordPress, you save valuable server
resources.

### Key Features:

 * **CIDR Range Support:** Block entire subnet ranges easily (e.g., IPv4 and IPv6
   CIDR notations).
 * **Permanent & Temporary IP Blocking:** Choose to block IPs permanently or set
   them as temporary.
 * **Auto-Purge System:** Automatically removes the oldest temporary IPs once the
   limit is reached to keep your `.htaccess` file clean and optimized.
 * **Smart Server Detection:** Automatically detects Apache versions (2.2 or 2.4
   +) and applies the correct syntax (`deny from` vs `Require not ip`).
 * **Clean Uninstallation:** Includes an automatic uninstaller that cleans up database
   options and removes its specific rules from `.htaccess` without affecting other
   rules.

## Installation

 1. Upload the plugin folder `lungotech-ip-guard` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to **LungoTech IP Guard** in your WordPress admin sidebar to configure
    settings and block IPs.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“LungoTech IP Guard” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “LungoTech IP Guard” into your language.](https://translate.wordpress.org/projects/wp-plugins/lungotech-ip-guard)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lungotech-ip-guard/),
check out the [SVN repository](https://plugins.svn.wordpress.org/lungotech-ip-guard/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lungotech-ip-guard/)
by [RSS](https://plugins.trac.wordpress.org/log/lungotech-ip-guard/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 4.1.3

 * Refactored file operations to use WP_Filesystem API in both main plugin and uninstall.
   php.
 * Enhanced security with proper unslashing, sanitization, and output escaping across
   all admin interfaces.
 * Fixed text domain mismatch to align with official plugin slug.
 * Replaced PHP date() with UTC-compliant gmdate() for date displays.
 * Added proper prefixing for global variables in uninstall.php.

#### 4.1.2

 * Added robust data sanitization and auto-migration for legacy database arrays 
   to prevent PHP 8+ type errors.
 * Refactored UI header and styling.
 * Added secure uninstallation support.

## Meta

 *  Version **4.1.3**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.0.4**
 * Tags
 * [ban ip](https://wordpress.org/plugins/tags/ban-ip/)[firewall](https://wordpress.org/plugins/tags/firewall/)
   [htaccess](https://wordpress.org/plugins/tags/htaccess/)[ip blocker](https://wordpress.org/plugins/tags/ip-blocker/)
   [security](https://wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://wordpress.org/plugins/lungotech-ip-guard/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/lungotech-ip-guard/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lungotech-ip-guard/)