WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Carl Alberto v2.1.0

Easy IP Blocker

Quickly block unwanted IPs in your WP site with CDN/proxy-aware IP detection

Easy IP Blocker

The facts

Rating
5★ from 1
Active installs
300+
Price
Free
Last updated
13 May 2026
Added
Sep 2020
Requires WP
5.0
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
6,514

Our analysis

AI-assisted

Easy IP Blocker is a WordPress plugin that enables you to block unwanted IP addresses directly from your dashboard. It helps protect your site from malicious traffic, brute-force login attempts, and spam by allowing you to maintain a simple blocklist. You can add individual IPs, CIDR ranges, or wildcard patterns with ease.

The plugin features a plain-text blocklist that can be easily backed up or restored. It also supports WP-CLI commands for users who prefer scripting and automation. This plugin is suitable for site administrators looking for a straightforward way to enhance their site's security without complex setups.

Best for: Site administrators seeking a simple tool for blocking malicious IPs.

What it does well

  • Lightweight with no external dependencies
  • Supports multiple blocking formats including IPs and CIDR ranges
  • Built-in WP-CLI commands for easy management
  • Auto-detects CDN/proxy settings
  • Modern admin interface with a clean layout

Where it falls short

  • No import/export workflow for blocklists
  • Limited to plain-text storage of blocklist

Verdict

Easy IP Blocker provides a straightforward solution for managing IP blocks. It is suitable for users who prefer a simple and efficient way to enhance site security.

From the developer

Carl Alberto's own description of Easy IP Blocker, lightly tidied.

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 IP192.168.1.1
  • CIDR range192.168.1.0/24 (blocks 192.168.1.0 through 192.168.1.255)
  • Wildcard10.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

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for content delivery.

FluentSMTP

Free WP Mail SMTP plugin - fix WordPress email deliverability with Gmail, Amazon SES, SendGrid, Mailgun, Cloud...

Free 600k+ installs 4.8★ (400)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP &amp; AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
W3 Total Cache

Search Engine (SEO) &amp; Performance Optimization (WPO) via caching. Integrated caching: CDN, Page, Minify, O...

Free 900k+ installs 4.4★ (5,420)
Super Page Cache

Boost PageSpeed, SEO, and Core Web Vitals with full page caching, JS/CSS optimization, media optimization, and...

Free 70k+ installs 4.8★ (506)
WP Fastest Cache

The simplest and fastest WP Cache system

Free 1M+ installs 4.9★ (4,224)
SpeedyCache

SpeedyCache is a WordPress cache plugin that helps you improve performance of your WordPress site by caching,...

Free 600k+ installs 4.4★ (30)