
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:
wp eib add/remove/list/clear) for scripting and automationSupported CDN / proxy providers:
CF-Connecting-IPFastly-Client-IPTrue-Client-IPCloudFront-Viewer-AddressX-Sucuri-ClientIPX-Forwarded-ForREMOTE_ADDR when no proxy is in useThe 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:
192.168.1.1192.168.1.0/24 (blocks 192.168.1.0 through 192.168.1.255)10.0.0.* or 172.16.*.* (matches any value in place of *)# are ignored, useful for notesWP-CLI commands:
wp eib add <ip>... — Append one or more entries to the blocklistwp eib remove <ip>... — Remove entries from the blocklistwp eib delete <ip>... — Alias for removewp eib list — Show all blocked IPs and ruleswp eib clear — Clear the entire blocklistAll 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