Title: Easy IP Blocker
Author: Carl Alberto
Published: <strong>Ọwẹ́wẹ̀  26, 2020</strong>
Last modified: Èbìbí  13, 2026

---

Ṣàwárí àwọn plugin

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

![](https://ps.w.org/easy-ip-blocker/assets/icon.svg?rev=3529201)

# Easy IP Blocker

 Láti ọwọ́ [Carl Alberto](https://profiles.wordpress.org/carl-alberto/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/easy-ip-blocker.2.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/easy-ip-blocker/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/easy-ip-blocker/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/easy-ip-blocker/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/easy-ip-blocker/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/easy-ip-blocker/)

## Àpèjúwe

Easy IP Blocker is a lightweight security plugin that lets you block unwanted IP
addresses directly from your WordPress dashboard. Protect your site from malicious
traffic, brute-force login attempts, and spam by maintaining a blocklist with just
a few clicks.

Your entire blocklist is stored as a single plain-text option — one entry per line.
There is no database table, no import/export workflow, and no complicated UI. Just
copy, paste, and save. Back up your list by copying the textarea contents to a text
file, or restore it by pasting one back in. It is that simple.

Need to block IPs faster? Use the built-in WP-CLI commands to add, remove, or list
entries without ever opening the dashboard.

**Features:**

 * Block individual IPs, CIDR ranges, or wildcard patterns
 * CDN/proxy-aware IP detection — supports Cloudflare, Fastly, Akamai, AWS CloudFront,
   Sucuri, and custom headers
 * Auto-detects your CDN/proxy and recommends the correct setting
 * Plain-text flat list — copy and paste to back up, migrate, or restore
 * WP-CLI support (`wp eib add/remove/list/clear`) for scripting and automation
 * Lightweight and fast — no external dependencies, API calls, or extra database
   tables
 * Compatible with PHP 7.4 through 8.4
 * Helps prevent brute-force attacks, spam, and unauthorized access
 * Comment support — use # to annotate and organize your blocklist
 * Modern, clean admin interface with tabbed layout

**Supported CDN / proxy providers:**

 * **Cloudflare** — reads `CF-Connecting-IP`
 * **Fastly** — reads `Fastly-Client-IP`
 * **Akamai** — reads `True-Client-IP`
 * **AWS CloudFront** — reads `CloudFront-Viewer-Address`
 * **Sucuri** — reads `X-Sucuri-ClientIP`
 * **Generic proxy** — reads `X-Forwarded-For`
 * **Custom header** — specify any header name your proxy sets
 * **Direct** — uses `REMOTE_ADDR` when no proxy is in use

The plugin auto-detects which CDN or proxy is in front of your site and recommends
the correct setting. You can also choose manually from the Settings tab.

**Supported blocking formats:**

 * **Exact IP** — `192.168.1.1`
 * **CIDR range** — `192.168.1.0/24` (blocks 192.168.1.0 through 192.168.1.255)
 * **Wildcard** — `10.0.0.*` or `172.16.*.*` (matches any value in place of *)
 * **Comments** — lines starting with `#` are ignored, useful for notes

**WP-CLI commands:**

 * `wp eib add <ip>...` — Append one or more entries to the blocklist
 * `wp eib remove <ip>...` — Remove entries from the blocklist
 * `wp eib delete <ip>...` — Alias for remove
 * `wp eib list` — Show all blocked IPs and rules
 * `wp eib clear` — Clear the entire blocklist

All commands that accept IPs support multiple entries in a single call. For example:

    ```
    wp eib add 192.168.1.1 10.0.0.0/24 172.16.0.*
    wp eib remove 192.168.1.1 10.0.0.0/24
    ```

## Ìgbéwọlẹ̀

Installing “Easy IP Blocker” can be done either by searching for “Easy IP Blocker”
via the “Plugins > Add New” screen in your WordPress dashboard, or by using the 
following steps:

 1. Download the plugin via WordPress.org
 2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress
    dashboard
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### What is the plugin used for?

Easy IP Blocker allows you to block unwanted IP addresses from accessing your WordPress
site. Navigate to Settings > Easy IP Block Settings, and add entries using exact
IPs (192.168.1.1), CIDR ranges (10.0.0.0/24), or wildcards (172.16._._). Use lines
starting with # to add comments to your blocklist.

### My site is behind Cloudflare / a CDN — will blocking work?

Yes. Go to Settings > Easy IP Block Settings > Settings tab and select your CDN 
or proxy from the “IP Detection Method” dropdown. The plugin will read the correct
header to get the real visitor IP. If you are unsure, the plugin auto-detects your
CDN and shows a recommendation on the Settings tab.

### What is the “Auto (legacy)” IP detection method?

This is the default for existing installations. It checks multiple headers in order(
HTTP_CLIENT_IP, X-Forwarded-For, REMOTE_ADDR). While convenient, it is less secure
because attackers can spoof headers. We recommend selecting your specific CDN or“
Direct” if you have no proxy.

### Can I use a custom header?

Yes. Select “Custom header” from the IP Detection Method dropdown and enter the 
header name your proxy sets (e.g. X-Real-IP). This works with Nginx, HAProxy, or
any non-standard proxy configuration.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/182fd9f149398c5f9877ef4e3d103e8d7d530d0d6d62c3d448cf03e037e7522a?
s=60&d=retro&r=g)

### 󠀁[One click solution for IP blocking](https://wordpress.org/support/topic/one-click-solution-for-ip-blocking/)󠁿

 [kazisaheb](https://profiles.wordpress.org/kazisaheb/) Èrèlé 14, 2024

I wonder why this simple but awesome plugin doesnÌtumọ̀ Yorùbá: ’t have any rating
yet! ItÌtumọ̀ Yorùbá: ’s just one click solution for IP blocking.

 [ Ka gbogbo àgbéyẹ̀wò 1 ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Easy IP Blocker” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

 *   [ Carl Alberto ](https://profiles.wordpress.org/carl-alberto/)

[Túmọ̀ “Easy IP Blocker” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/easy-ip-blocker)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/easy-ip-blocker/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/easy-ip-blocker/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/easy-ip-blocker/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/easy-ip-blocker/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 2.1.0

 * 2026-05-13
 * Added CDN/proxy-aware IP detection — supports Cloudflare, Fastly, Akamai, AWS
   CloudFront, Sucuri, generic proxy, and custom headers
 * Added auto-detection of CDN/proxy headers with admin recommendation notice
 * Added configurable IP Detection Method dropdown in a new Settings tab
 * Added Custom Header Name field for non-standard proxy configurations
 * Added “IP Detection Methods Explained” tooltip reference on the Settings tab
 * Reorganized admin UI into tabbed layout — Blocklist (main) and Settings tabs
 * Existing installations default to “Auto (legacy)” mode for backward compatibility
 * Updated plugin description and FAQ
 * Bumped “Tested up to” to WordPress 6.9

#### 2.0.0

 * 2026-05-12
 * Version bump to WordPress 6.8 and PHP 8.4 compatibility
 * Added CIDR range blocking (e.g. 192.168.1.0/24)
 * Added wildcard pattern blocking (e.g. 10.0.0.*)
 * Added comment support (lines starting with #)
 * Added WP-CLI commands (wp eib add/remove/list/clear)
 * Modernized admin settings UI
 * Updated plugin assets and deployment workflow

#### 1.0.4

 * 2022-10-24
 * Version bump to WordPress versino 6.0.3 compatibility

#### 1.0.3

 * 2021-08-9
 * Version bump to 5.8.1

#### 1.0

 * 2020-08-10
 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **2.1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **wákàtí 23 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **200+**
 *  Ẹ̀yà WordPress ** 5.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.9.4**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/easy-ip-blocker/)
 * Àwọn àmì
 * [block ip](https://yor.wordpress.org/plugins/tags/block-ip/)[firewall](https://yor.wordpress.org/plugins/tags/firewall/)
   [ip blocker](https://yor.wordpress.org/plugins/tags/ip-blocker/)[security](https://yor.wordpress.org/plugins/tags/security/)
   [traffic](https://yor.wordpress.org/plugins/tags/traffic/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/easy-ip-blocker/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/easy-ip-blocker/reviews/?filter=1)

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

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

## Àwọn Olùkópa

 *   [ Carl Alberto ](https://profiles.wordpress.org/carl-alberto/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/easy-ip-blocker/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://wordpress.org/plugins/easy-ip-blocker/)