Title: Advanced IP Blocker
Author: IniLerm
Published: <strong>June 26, 2025</strong>
Last modified: November 30, 2026

---

Search plugins

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

![](https://ps.w.org/advanced-ip-blocker/assets/icon-256x256.png?rev=3320247)

# Advanced IP Blocker

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

[Download](https://downloads.wordpress.org/plugin/advanced-ip-blocker.8.14.1.zip)

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

 [Support](https://wordpress.org/support/plugin/advanced-ip-blocker/)

## Description

**Advanced IP Blocker** is your all-in-one security solution to safeguard your WordPress
website from a wide range of threats. This plugin provides a comprehensive suite
of tools to automatically detect and block malicious activity, including brute-force
attacks, vulnerability scanning, and spam bots. With its intuitive interface, you
can easily manage whitelists, blocklists, and view detailed security logs to understand
exactly how your site is being protected.

> **Important Note on PHP Version:**
>  To ensure maximum security and access to all
> features, we strongly recommend using **PHP 8.1 or higher**. Some advanced features(
> like the local MaxMind database or full 2FA management via WP-CLI) require PHP
> 8.1.

**Key Features:**
 * **AIB Cloud Portal & 1-Click Connect (Free Account – Optional):**
Connect up to 5 WordPress websites for free at `app.advaipbl.com` with verified 
per-site SHA-256 API tokens (`aib_live_*`), instant key rotation/revocation, optional
TOTP 2FA, and 5x-10x higher daily quotas for Deep CVE Scanning, Server IP Reputation,
and Community Blocklist syncs. All local firewall modules remain 100% free and unlimited
without requiring an account. * **Critical Admin & Privilege Escalation Alerts:**
Receive immediate Email and/or Push notifications (with an optional dedicated agency
security email) whenever a new Administrator is created, a user is promoted to Administrator,
public registration or default admin role settings are modified, or an Administrator
logs in from a new country. * **Push Notifications (Slack, Discord, Teams & Native
Telegram Bot API):** Get real-time security alerts delivered to your team channels,
including native Telegram Bot API support with HTML formatting and forum topic (`
message_thread_id`) routing. * **Advanced Rules Engine with Dry-Run (`Log Only`)
Mode:** Create powerful, custom security rules with multiple conditions (IP, Country,
ASN, URI, User-Agent, Request Method, Referer, Username) and actions (Block, Challenge,
Rate Limit, Threat Score, or `Log Only` simulation to safely test rules in production
without blocking legitimate traffic). * **Firewall & Proxy Diagnostics + Anonymized
Support Report:** Run instant local checks for Proxy/Whitelist misconfigurations,
active security/WAF plugin conflicts, and internal DB/FIM/OPcache health, and copy
a 100% anonymized technical report in one click. * **File Integrity Monitor & Malware
Scanner:** Automatically scans WordPress core files, active plugins/themes, and 
the `uploads` directory for malware, hidden PHP shells, and unauthorized modifications.
Safely neutralize threats in an encrypted Quarantine Vault, with built-in graceful
degradation if server antivirus software quarantines the scanner engine. * **Admin
Access Control:** Granular control over which administrators can access the plugin’s
configuration dashboard. Restrict plugin management while keeping firewall rules
intact for all editors and admins. * **Hardening & Core Protection:** Powerful tools
to disable WordPress application passwords, turn off the built-in file editor, block
PHP execution in the uploads folder, protect REST API user endpoints from enumeration,
and hide the WordPress version from attackers. * **Intelligent Zero-Day WAF Sync:**
Automatically download and apply critical WAF signatures from the AIB Central Server.
Stay protected against zero-day vulnerabilities without needing to update the plugin
manually, running completely independent of your custom WAF configuration. * **Block
Ghost IPs:** Automatically block IPs without ASN and Reverse DNS to stop anonymous
traffic (Warning: Could cause false positives if rDNS is misconfigured by ISPs).***
Captcha Integrations (Turnstile & hCaptcha):** Seamlessly integrate modern verification
challenges like Cloudflare Turnstile and hCaptcha, with granular control per module
and a smart fallback to our invisible JS Challenge to prevent accidental lockouts.***
Rate Limiting Advanced Rules:** Create highly specific rate limits for different
endpoints. Set a strict limit with a Turnstile challenge for `/login`, while keeping
a more generous limit with a temporary block for your main API, all without affecting
the rest of the site. * **Distributed Attack Protection (Auto-Panic):** Automatically
shields your entire site with a global JS challenge during massive traffic spikes,
keeping your server online while intelligently bypassing trusted bots and excluded
routes. * **IP & ASN Diagnostics Tool:** A complete Inspector tool integrated directly
into the admin bar. Quickly audit any IP or ASN against your Geolocation database,
Threat Scoring system, Spamhaus drops, and manual blocking rules in real-time. ***
Advanced Rules Import/Export:** Seamlessly migrate or backup your custom security
rules across multiple WordPress websites with full JSON validation, structural deduplication,
and client-side file generation. * **Granular JS Challenge Modes:** Choose between“
Managed” (human interaction checkbox) and “Automatic” (invisible Proof-of-Work execution)
per security module. * **Country Selector Copy/Paste:** Instantly copy and paste
a raw list of 2-letter country codes directly into Geoblocking, Geo-Challenge, and
Whitelist Login fields. * **AIB Cloud Network V3:** Next-generation distributed 
threat intelligence network with individual API Keys per site, fast indexed database
lookups (`wp_advaipbl_community_ips`), and optimized background synchronization.***
Whitelist Login Countries (with Threat Scoring Integration):** Restrict your WordPress
login page and XML-RPC to only allow connections from specific, whitelisted countries,
accumulating Threat Score points for persistent bots while keeping access open for
legitimate travelers. * **Bulk Import/Export & Bulk Actions:** Import massive lists
of IPs via CSV or manual entry with strict duration inheritance and conflict resolution,
plus full bulk-action management for Whitelist and Blocked IPs. * **Internal Security&
Forensics (Activity Audit Log):** Track every sensitive WordPress event (plugin 
installs, settings changes, role changes, user logins) with timestamped, immutable
records. * **Deep Scan & Vulnerability Scanner:** Audit your WordPress environment
instantly against a database of 30,000+ known vulnerabilities, with optional scheduled
email security summaries. * **Server IP Reputation Check:** Instantly audit your
web server’s IP address against major blacklists (Spamhaus, AbuseIPDB) to diagnose
SEO and email delivery issues. * **HTTP Security Headers:** Easily configure HSTS,
X-Frame-Options, X-Content-Type-Options, CSP (including Report-Only mode), and Permissions-
Policy. * **Cloud Edge Defense (Cloudflare):** Connect your site directly to Cloudflare’s
global network and automatically sync your blocklists to stop attackers at the edge
with zero server load. * **Server-Level Firewall (.htaccess) & File Hardening:**
Write blocking rules and protect sensitive files (`wp-config.php`, `readme.html`,`.
git`) directly at the Apache/LiteSpeed level before PHP or WordPress loads. * **
Auto-Cleaning Logic:** Smart expiration handling automatically removes stale IPs
from both the local database and external firewalls (Cloudflare / `.htaccess`). ***
AbuseIPDB Integration:** Proactively check unknown visitor IPs against AbuseIPDB’s
real-time crowdsourced database and block high-risk actors on their very first request.***
Edge Firewall Mode:** Protect any standalone PHP file or non-WordPress folder on
your server using `auto_prepend_file`. * **Smart & Known Bot Verification:** Uses
reverse DNS lookups to verify legitimate crawlers (Googlebot, Bingbot), supports
official uptime monitoring bot IP lists (UptimeRobot, Pingdom), and recognizes legitimate
iOS iCloud Private Relay and social preview traffic. * **Advanced IP Spoofing Protection(
Trusted Proxies):** Zero-trust Trusted Proxies system with one-click Quick Add presets
for Cloudflare, Fastly, and QUIC.cloud CIDRs so the plugin always resolves the true
visitor IP. * **Geo-Challenge & Endpoint Lockdown Mode:** Present a quick JavaScript
challenge to high-risk countries or automatically shield `wp-login.php` and `xmlrpc.
php` during sustained distributed attacks. * **Two-Factor Authentication (2FA) &
Active User Session Management:** Secure accounts with TOTP authentication, backup
codes, role enforcement, and per-device session monitoring/termination. * **IP Trust&
Threat Scoring System:** Assigns contextual “threat points” to suspicious IPs and
blocks them only when they reach your configured threshold. * **Attack Signature
Engine:** Proactively stops distributed botnets by identifying and challenging the
attacker’s fingerprint rather than just individual IPs. * **Web Application Firewall(
WAF):** Block SQLi, XSS, path traversal, and RCE attempts with customizable rulesets
and exclusions. * **And much more:** Onboarding Setup Wizard, Rate Limiting, Country&
ASN Blocking (with Spamhaus support), ASN Whitelisting, Google reCAPTCHA, Honeypots,
White-Label filter (`advaipbl_show_branding`), and Full WP-CLI Support.

## Screenshots

[⌊The new Security Dashboard with real-time charts and a Live Attack Map.⌉⌊The new
Security Dashboard with real-time charts and a Live Attack Map.⌉[

The new Security Dashboard with real-time charts and a Live Attack Map.

[⌊Modern and intuitive two-level navigation system for easy access to all features.⌉⌊
Modern and intuitive two-level navigation system for easy access to all features
.⌉[

Modern and intuitive two-level navigation system for easy access to all features.

[⌊The main Settings page to configure all protection modules like WAF and Rate Limiting.⌉⌊
The main Settings page to configure all protection modules like WAF and Rate Limiting
.⌉[

The main Settings page to configure all protection modules like WAF and Rate Limiting.

[⌊Powerful Web Application Firewall (WAF) with recommended rules.⌉⌊Powerful Web 
Application Firewall (WAF) with recommended rules.⌉[

Powerful Web Application Firewall (WAF) with recommended rules.

[⌊Block entire networks with ASN Blocking, powered by the Spamhaus list.⌉⌊Block 
entire networks with ASN Blocking, powered by the Spamhaus list.⌉[

Block entire networks with ASN Blocking, powered by the Spamhaus list.

[⌊Detailed Blocked IPs table with the "View Map" modal in action.⌉⌊Detailed Blocked
IPs table with the "View Map" modal in action.⌉[

Detailed Blocked IPs table with the “View Map” modal in action.

[⌊Country Blocking (Geoblocking) and Geo-Challenge with user-friendly selectors 
and smart warnings.⌉⌊Country Blocking (Geoblocking) and Geo-Challenge with user-
friendly selectors and smart warnings.⌉[

Country Blocking (Geoblocking) and Geo-Challenge with user-friendly selectors and
smart warnings.

[⌊Unified Security Log with a powerful filter to analyze all attack events.⌉⌊Unified
Security Log with a powerful filter to analyze all attack events.⌉[

Unified Security Log with a powerful filter to analyze all attack events.

[⌊Active User Session Management to monitor and terminate logged-in users.⌉⌊Active
User Session Management to monitor and terminate logged-in users.⌉[

Active User Session Management to monitor and terminate logged-in users.

[⌊Full WP-CLI support documentation, accessible from the "About" tab.⌉⌊Full WP-CLI
support documentation, accessible from the "About" tab.⌉[

Full WP-CLI support documentation, accessible from the “About” tab.

[⌊An example of a professional HTML email notification.⌉⌊An example of a professional
HTML email notification.⌉[

An example of a professional HTML email notification.

[⌊The new "Trusted Proxies" setting for advanced anti-spoofing protection.⌉⌊The 
new "Trusted Proxies" setting for advanced anti-spoofing protection.⌉[

The new “Trusted Proxies” setting for advanced anti-spoofing protection.

[⌊IP Trust & Threat Scoring System.⌉⌊IP Trust & Threat Scoring System.⌉[

IP Trust & Threat Scoring System.

[⌊Attack Signature Engine.⌉⌊Attack Signature Engine.⌉[

Attack Signature Engine.

[⌊The new Two-Factor Authentication (2FA) setup section in the user profile.⌉⌊The
new Two-Factor Authentication (2FA) setup section in the user profile.⌉[

The new Two-Factor Authentication (2FA) setup section in the user profile.

[⌊The 2FA Management tab for administrators, showing user status and reset actions.⌉⌊
The 2FA Management tab for administrators, showing user status and reset actions
.⌉[

The 2FA Management tab for administrators, showing user status and reset actions.

[⌊The 2FA prompt on the WordPress login screen after entering a correct password.⌉⌊
The 2FA prompt on the WordPress login screen after entering a correct password.⌉[

The 2FA prompt on the WordPress login screen after entering a correct password.

[⌊The new HTTP Security Headers manager.⌉⌊The new HTTP Security Headers manager.⌉[

The new HTTP Security Headers manager.

[⌊The new AIB Network manager.⌉⌊The new AIB Network manager.⌉[

The new AIB Network manager.

[⌊The new AbuseIPDB Api manager.⌉⌊The new AbuseIPDB Api manager.⌉[

The new AbuseIPDB Api manager.

## Installation

 1. Upload the `advanced-ip-blocker` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. A new **“Security”** menu item will appear in your admin sidebar. All settings 
    are located there.
 4. **Crucial:** Visit `Security > Dashboard > System Status` to ensure your IP and
    your server’s IP are whitelisted. Use the one-click buttons if they are not.

## FAQ

### What is the AIB Cloud Portal (app.advaipbl.com) and is an account required?

The **AIB Cloud Portal** (`https://app.advaipbl.com`) is our optional, dedicated
cloud hub for managing per-site SHA-256 API keys (`aib_live_*`) across up to 5 WordPress
sites for free – with 1-Click Connect, instant key rotation/revocation, optional
2FA, and 5x-10x higher daily quotas for cloud-powered services (Deep CVE Scanner,
Server IP Reputation, and Community Blocklist syncs). **No account is required**
for any local firewall module (Local WAF, Rate Limiting, Geoblocking/Geo-Challenge,
2FA, `.htaccess`, Cloudflare Edge, Push Webhooks, Audit Log, Critical Alerts, or
Advanced Rules), and existing Legacy V3 keys (`AIB_*`) remain 100% backwards-compatible.
See our [AIB Cloud Portal & Quotas Guide](https://advaipbl.com/aib-cloud-portal-api-keys-quotas/)
for details.

### How do Push Notifications (Slack, Discord, Microsoft Teams & Telegram) work?

You can receive real-time security alerts in your team chat channels under `Security
> Settings > Notifications`. Paste one webhook URL per line for Slack, Discord, 
Microsoft Teams, or native Telegram Bot API (`https://api.telegram.org/bot<TOKEN
>/sendMessage?chat_id=<CHAT_ID>`, with optional `&message_thread_id=<TOPIC_ID>` 
for forum groups). For step-by-step setup instructions, see our [Push Notifications & Webhooks Guide](https://advaipbl.com/push-notifications-webhooks-slack-discord-telegram/).

### What are Critical Admin & Privilege Escalation Alerts?

Located under `Security > Settings > Internal Security & Forensics`, this feature
sends immediate alerts (via Email, Push Webhooks, or Both, with an optional dedicated
agency security email) whenever a high-risk administrative change occurs: a new 
Administrator account is created, an existing user is promoted to Administrator,
public registration (`users_can_register`) is enabled, the default role is changed
to Administrator, or an Administrator logs in from a new country.

### What is the “Log Only (Simulate / Dry-Run)” mode in Advanced Rules?

When building a complex custom rule in the Advanced Rules Engine, you can select`
Log Only (Simulate / Dry-Run)` as the action. The plugin will evaluate the rule 
against live traffic, increment hit counters, and record simulated matches in Security
Logs without blocking or challenging visitors – allowing you to validate accuracy
before switching the rule to Block or Challenge.

### What is the Firewall & Proxy Diagnostics tool and Anonymized Support Report?

Inside `Security > Site Scanner`, the Local Scan includes a dedicated Firewall &
Proxy Diagnostics card that checks for reverse-proxy/whitelist misconfigurations,
conflicts with other active security/WAF plugins, and internal database/FIM/OPcache
health. You can also click **Copy Anonymized Support Report** to copy a clean technical
snapshot (with domains, IPs, emails, and API tokens automatically excluded) for 
troubleshooting or support tickets.

### How does Admin Access Control work?

By default, all users with the Administrator role can access and configure Advanced
IP Blocker. If you have multiple administrators but only want specific users to 
manage security settings, you can explicitly select them in the “Hardening & Core
Protection” tab. The primary admin (ID 1) is always protected from lockouts. Other
admins will not even see the “Security” menu.

### Can I block PHP execution in the Uploads folder?

Yes! In the “Hardening & Core Protection” section, you can enable “Block PHP in 
Uploads”. The plugin will automatically place a specialized .htaccess file in your
uploads directory to prevent any uploaded scripts from being executed, which is 
a common backdoor technique used by attackers.

### What is the Intelligent Zero-Day WAF Sync?

This is a game-changing feature that automatically synchronizes your site’s Web 
Application Firewall with our Central Security Server. Once a day, the plugin securely
downloads the latest zero-day vulnerability signatures (e.g., for critical CVEs 
or widespread exploits) and injects them directly into the scanning engine. This
means your site is protected instantly against new threats without waiting for a
plugin update. Importantly, these rules run in a dedicated, invisible layer and 
will NEVER overwrite or interfere with your own custom WAF rules.

### What is Block Ghost IPs?

This feature automatically blocks incoming traffic from IP addresses that lack an
Autonomous System Number (ASN) and Reverse DNS (rDNS) record. Since legitimate traffic
almost always has these identifiers, Ghost IPs are often malicious actors trying
to hide. Please note that this can cause false positives if a legitimate Internet
Service Provider (ISP) has misconfigured their rDNS.

### What are Captcha Integrations (Turnstile & hCaptcha)?

Our new Captcha Integrations allow you to seamlessly connect modern verification
challenges like Cloudflare Turnstile and hCaptcha to your security modules. You 
can set a Global Default Engine and even apply different challenges granularly per
module. To ensure your site never breaks, it includes a smart fallback to our invisible
JS Challenge if your API keys are ever misconfigured or missing.

### How do Rate Limiting Advanced Rules work?

Instead of a single global rate limit for your entire site, Advanced Rules allow
you to define custom limits for specific URLs or endpoints. You can define the maximum
number of requests, the time window, and the specific action (like returning a 429
error, a 403 block, or triggering a Turnstile/hCaptcha challenge) for each endpoint
independently. This is ideal for protecting sensitive areas like login pages or 
APIs with stricter limits while allowing normal traffic on the rest of the site.

### What is Distributed Attack Protection (Auto-Panic)?

This feature automatically engages a global JavaScript challenge to protect your
server resources from massive spikes in malicious traffic. It monitors the number
of blocks within a specific time window and, if the threshold is reached, it shields
the entire site. Legitimate administrators, verified bots (like Googlebot), and 
explicitly excluded URLs are bypassed. You can configure the thresholds and notification
preferences under Security > Settings > Core Protections.

### What is the IP & ASN Diagnostics Tool (IP Inspector)?

It is a powerful built-in utility located in your Security menu (and top admin bar)
that allows you to manually inspect any IP address or Autonomous System Number (
ASN). It instantly cross-references the subject against your Geolocation databases,
Threat Scoring system, AbuseIPDB, Spamhaus drops, and local whitelists/blocklists.
It is the ultimate tool for investigating suspicious traffic or verifying if a legitimate
user was blocked by a specific rule.

### How does the Vulnerability Scanner work?

The scanner checks your site in two ways:
 Local Scan: Checks for outdated PHP versions,
WordPress core updates, debug mode risks, and SSL status. This runs locally and 
instantly. Deep Scan (Vulnerability Audit): Checks your installed plugins and themes
against our central database of known security vulnerabilities (CVEs). This process
is manual (you click a button) to ensure it never slows down your site during normal
operation.

### What is the new Audit Log?

The Audit Log is your site’s “black box”. It records critical administrative actions
such as plugin activations, settings changes, and file modifications. This helps
you identify “who did what and when,” which is essential for troubleshooting and
security forensics.

### How does the File Integrity Monitor (FIM) work?

The FIM acts as a forensic security layer. It takes cryptographic fingerprints of
your most critical core files (like `wp-config.php`) and monitors plugins/themes
to detect unauthorized modifications. Additionally, it recursively scans your `wp-
content/uploads/` media folder to detect hidden PHP web shells and malware signatures,
allowing you to neutralize threats in an encrypted Quarantine Vault. For full details,
see our [File Integrity Monitor & Malware Scanner Guide](https://advaipbl.com/file-integrity-monitor-malware-scanner/).

### Why did you move the Community Blocklist to a custom table?

To ensure maximum performance as the network grows. Storing thousands of IPs in 
standard WordPress options (wp_options) can slow down a site. By moving this data
to a dedicated, indexed database table (wp_advaipbl_community_ips), we ensure that
lookups are lightning-fast (O(1) complexity) and consume negligible memory, regardless
of how many threats we track.

### What is the Community Defense Network?

It is a collaborative security feature where users share anonymized data about verified
attacks (like SQL injections caught by the WAF or IPs flagged by AbuseIPDB). Our
central server aggregates this data to create a global blocklist of active threats.
You can choose to contribute data (“Join”) and/or use the global list to protect
your site (“Enable Blocking”).

### Does the Community Network slow down my site?

No. Queued attack reports are sent in the background via WP-Cron (hourly, only when
there are pending reports) and the global blocklist is synchronized every 6 hours
into a local indexed database table, so checking an IP against it is instant (microseconds)
with zero external API calls during visitor requests.

### How do I set up Cloud Edge Defense (Cloudflare)?

You need a free Cloudflare account and your domain must be using Cloudflare’s nameservers.

1. Go to Security > Settings > Cloud Edge Defense. 2. Enter your Cloudflare API 
Token (with “Zone > Firewall Services > Edit” permissions) and Zone ID. 3. Click“
Verify” and save. The plugin will now automatically push your blocked IPs to Cloudflare’s
Firewall. For a step-by-step guide with screenshots, click the help icon in the 
settings or visit our website.

### Is the Server-Level Firewall (.htaccess) safe?

Yes. Safety is our priority.
 1. Backups: The plugin automatically creates a timestamped
backup of your .htaccess file in a protected folder every time it writes new rules.
2. Compatibility: It automatically detects your server type and generates valid 
syntax for Apache 2.2 or 2.4. 3. Safety Limit: It includes a safety limit on the
number of IPs written to the file to prevent server memory issues.

### What if I use Nginx instead of Apache?

The “Server-Level Firewall (.htaccess)” feature relies on Apache/LiteSpeed specific
files. If you use Nginx (without Apache), these local rules will be ignored by the
server.
 Recommendation: For Nginx users, we strongly recommend enabling the Cloud
Edge Defense (Cloudflare) feature. It provides the same “pre-execution” blocking
benefits but works on any server environment since the blocking happens in the cloud.

### What is AbuseIPDB Protection and how does it work?

AbuseIPDB is a global, crowdsourced project that tracks and reports malicious IP
addresses in real-time. Our new integration allows the plugin to check the reputation
of a new, unknown visitor against this database on their first visit. If the IP 
has been recently reported by others for activities like hacking, spam, or brute-
force attacks, and its “abuse confidence score” is above your configured threshold,
the plugin will block it instantly. This acts as a proactive shield against known
bad actors, stopping them before they even have a chance to test your defenses. 
You can enable it and add your free API key under `Security > Settings > Threat 
Intelligence`.

### What is “Known Bot Verification”?

This is an advanced security feature that checks if visitors claiming to be from
major search engines (like Googlebot) are legitimate. It performs a DNS lookup to
verify their IP address. If the check fails, the visitor is identified as an “impersonator”
and receives a high threat score, preventing them from exploiting the trust given
to real crawlers. This feature is enabled by default under `Settings > Core Protections`.

### What is “Verify Monitoring Bots (IP List)”?

This feature ensures your uptime monitoring services (like UptimeRobot, Pingdom,
StatusCake, etc.) can always reach your site to check its status. By automatically
downloading and updating official IP lists from these providers, the plugin safely
whitelists them from rate limiting or blocking without exposing your site to attackers
who might spoof their user agents.

### What is “Trusted Proxies” and why do I need it?

This is a critical security feature that prevents IP spoofing. If your site is behind
a service like Cloudflare, Varnish, or another reverse proxy, the server’s direct
connection IP (`REMOTE_ADDR`) will always be the proxy’s IP, not the visitor’s. 
The real visitor IP is sent in an HTTP header (e.g., `CF-Connecting-IP`). An attacker
can fake this header. The “Trusted Proxies” setting tells the plugin: “Only trust
these headers if the request comes from an IP address I know is my proxy.” You can
use the one-click **Quick Add** buttons for official Cloudflare, Fastly, or QUIC.
cloud CIDR ranges (or manually add custom IPs, CIDR ranges, or ASNs) under `Security
> Settings > IP Detection`.

### What is Geo-Challenge? How is it different from Geoblocking?

**Geoblocking** is a hard block. It shows a “403 Access Denied” page to visitors
from selected countries.
 **Geo-Challenge** is a soft block. It shows a quick, automated
JavaScript test to visitors from selected countries. Legitimate humans pass instantly,
while most bots are stopped. This is useful for regions you are suspicious of but
do not want to block entirely. You can, for example, block Country A and challenge
Country B. You can configure it in `Security > Settings > Core Protections`.

### What is the difference between Automatic and Managed JS Challenge Modes?

**Automatic (Transparent execution):** The plugin runs a silent Proof-of-Work (PoW)
mathematical challenge in the background. If the visitor’s browser solves it within
5 seconds, they are automatically redirected to their destination without needing
to click anything. Great for a frictionless user experience.
 **Managed (Human interaction
required):** The visitor must manually click a checkbox (“I am human”) and optionally
wait a few seconds. This mode is the ultimate defense against advanced headless 
browsers and intelligent bots that can solve mathematical scripts but cannot simulate
human mouse interactions.

### How do I solve issues with the JavaScript challenge and caching plugins?

The JavaScript challenge (used by Geo-Challenge, Signature Engine, and Endpoint 
Lockdown) requires dynamic content. Aggressive page caching can interfere with it.
If you experience issues (like a challenge loop or a “Verification failed” error),
you must configure your caching plugin (e.g., WP Rocket, WP Fastest Cache, LiteSpeed
Cache) to **NOT** cache pages for visitors who do not have the `advaipbl_js_verified`
cookie. Most caching plugins have a setting like “Never cache pages that use this
cookie.”

### How do I solve issues with the JavaScript challenge and cookie consent (RGPD/GDPR) plugins?

Cookie consent plugins (like CookieYes) may block our security cookie from being
set. To fix this, you must go into your cookie plugin’s settings and classify the
cookie named `advaipbl_js_verified` as **“Strictly Necessary”** or “Essential”. 
This will allow the security challenge to function correctly.

### What is the new “Local Database” Geolocation Method?

For maximum performance, the plugin offers two ways to identify an IP’s location(`
Security > Settings > Geolocation`):
 1. **Real-time API (Default):** Easy to set
up and great for most websites. 2. **Local Database (Highest Performance):** Downloads
the MaxMind GeoLite2 database to your server for instant, offline lookups with zero
external API calls. Recommended for high-traffic sites. Requires a free MaxMind 
license key.

### How do I set up Two-Factor Authentication (2FA)?

 1. **Admin:** Go to `Security > Settings > Login & User Protection` and enable 2FA
    globally. You can also enforce it for specific user roles.
 2. **User:** Go to your WordPress Profile page. You will find a new section to set
    up 2FA by scanning a QR code with an authenticator app and saving your backup codes.

### What is the “Attack Signature Engine”?

This is an advanced defense that stops botnets by blocking the attacker’s “fingerprint”(
signature), not just their IP. It works in three phases you can enable in `Security
> Settings > Signature Engine`: Logging, Analysis (a background task that finds 
patterns), and Blocking (presents a JS challenge to malicious signatures). You can
manage detected signatures in `IP Management > Blocked Signatures`.

### What is the difference between the WAF, Signature Engine, and Advanced Rules?

Think of them as three layers of defense:
 1. **WAF (Web Application Firewall):**
The simplest layer. It blocks requests based on simple malicious patterns (e.g.,`
union select`). It’s fast and stops common, generic attacks. 2. **Attack Signature
Engine:** The automated layer. It looks for patterns of attack from many different
IPs (botnets) and blocks the attack’s “fingerprint” (signature) for all visitors.
You don’t create these rules; the plugin does. 3. **Advanced Rules Engine:** The
manual control layer. This is where _you_ build your own specific, multi-conditional
rules. For example: “IF the visitor is from China AND is trying to access `/wp-admin/`
THEN Block them permanently.” It gives you the ultimate power to create a security
policy tailored exactly to your site’s needs.

### How should I configure the plugin for my specific website?

While every website’s security needs are unique, here is a general guide to get 
you started based on your site’s profile. For a deep dive into every feature, please
consult our [Comprehensive Feature Guide](https://advaipbl.com/comprehensive-feature-guide-advanced-ip-blocker/).

**1. Essential First Steps (For ALL Websites)**

No matter your site type, do these three things immediately after installation to
ensure a strong baseline security without locking yourself out:

 * **Whitelist Your IPs:** Go to `Security > Dashboard > System Status` and use 
   the one-click buttons to add your current IP and your server’s IP to the whitelist.
   This is the most critical step.
 * **Activate Trap Defenses:** Go to `Security > Blocking Rules`, and in the “User
   Agents” and “Honeypot URLs” tabs, copy the suggested lists into the active blocklist
   text areas. This provides immediate protection from thousands of common bots.
 * **Enable Logging:** Go to `Security > Settings > General` and ensure “Enable 
   Logging” is turned on. This gives you the visibility you need to understand what
   is happening on your site.

**2. Recommended Profiles**

Once the essentials are done, tailor the configuration to your site type:

**For a Standard Blog or Business Website:**
 Your main goal is to block automated
threats without affecting administrators. * **Enable the IP Trust & Threat Scoring
System:** This is the smartest way to block bad actors contextually. The default
point values are an excellent starting point. (Found in `Settings > IP Trust & Threat
Scoring`). * **Enable the WAF and Rate Limiting:** These are powerful proactive 
defenses. (Found in `Settings > Core Protections` and `Threshold Blocking`). * **
Enable Spamhaus ASN Protection:** Let the plugin automatically block thousands of
known malicious networks for you. (Found in `Settings > Core Protections`).

**For an E-commerce or Membership Site (WooCommerce, etc.):**
 You need to protect
your site while ensuring legitimate customers from around the world are never blocked.***
Enable Two-Factor Authentication (2FA):** This is the single best way to protect
administrator and shop manager accounts. Enforce it for these roles in `Settings
> Login & User Protection`. * **Use Geo-Challenge Instead of Geoblocking:** If you
receive attacks from a specific country but also have customers there, use the Geo-
Challenge feature instead of a hard block. This will stop bots without affecting
human users. * **CRITICAL: DO NOT USE “Whitelist Login Access”.** This feature will
lock out your customers. * **WAF Exclusions:** Double-check that URLs for your payment
gateways (like Stripe or PayPal webhooks) are in the WAF exclusion list to ensure
payments are processed correctly.

**For Any Site Using a CDN or Reverse Proxy (like Cloudflare):**
 Your top priority
is ensuring the plugin detects the correct visitor IP address. * **Configure Trusted
Proxies:** Go to `Security > Settings > IP Detection` and use the one-click **Quick
Add** preset to insert official Cloudflare, Fastly, or QUIC.cloud CIDR ranges (or
add your reverse proxy’s IPs/CIDRs manually). This is essential for the accuracy
of all other security features.

### How can I protect a non-WordPress folder on my site?

This plugin includes an advanced “Edge Firewall Mode” that allows you to extend 
its protection to any PHP script on your server. This is perfect for securing custom
applications or directories that are not managed by WordPress. To enable it, you
need to add a single line of code to the beginning of the PHP file you want to protect.
This manual step ensures that the protection is explicit and works on any server
environment. For a complete step-by-step guide, please see our documentation: [How to Protect Non-WordPress Folders](https://advaipbl.com/edge-firewall-mode/).

### What are HTTP Security Headers and why do I need them?

HTTP Security Headers are instructions sent by your website to the visitor’s browser.
They tell the browser how to behave to prevent specific types of attacks.
 * **HSTS:**
Forces the browser to use a secure HTTPS connection. * **X-Frame-Options:** Prevents
other sites from embedding your site in an iframe (Clickjacking protection). * **
X-Content-Type-Options:** Prevents the browser from “guessing” the file type (MIME
sniffing protection). * **Permissions-Policy:** Controls which features (camera,
mic, etc.) legitimate sites can use. You can configure all of these (and more!) 
in `Security > Settings > Security Headers`.

### What does the “Username Blocking” feature do?

It allows you to create aggressive, targeted rules to block login attempts based
on the username provided. For example, if you know you never use the username “admin”,
you can create a rule: **IF Username IS “admin” THEN Block**. This stops brute-force
attacks instantly before they can even guess a password.

### Why was the “Direct File Access” warning added for the loader file?

We improved our security compliance checks. The `advaipbl-loader.php` file is a 
special file designed to run outside of WordPress in “Edge Mode”. We added a specific
security check to ensure it can only be run via the `auto_prepend_file` mechanism
and cannot be accessed directly by a browser, further hardening the plugin against
probing.

## Reviews

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

### 󠀁[Amazing, Effective and Great Code,](https://wordpress.org/support/topic/amazing-effective-and-great-code/)󠁿

 [davejohng](https://profiles.wordpress.org/davejohng/) November 11, 2026 1 reply

Amazing, Effective and Great Code,

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

### 󠀁[Amazing! it’s a useful plugin.](https://wordpress.org/support/topic/amazing-its-a-useful-plugin/)󠁿

 [imtakopie](https://profiles.wordpress.org/imtakopie/) October 27, 2026 1 reply

I was already using WP SITEGUARD as a WAF, but it lacks a blocking feature for when
an attack occurs. When I discovered this plugin, I felt it was exactly what I needed,
so I installed it. It turned out to be a perfect fit; it was effective immediately
and has successfully defended against attacks. I would like to offer a little help
with the translation of the plugin. (Japanese translation)

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

### 󠀁[it’s perfect till now](https://wordpress.org/support/topic/its-perfect-till-now/)󠁿

 [msalah52](https://profiles.wordpress.org/msalah52/) September 23, 2026 1 reply

actually it's a complete solution, thank you so muchHIGHLY RECOMMENDED

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

### 󠀁[Comprehensive, technically up to date.](https://wordpress.org/support/topic/comprehensive-technically-up-to-date/)󠁿

 [João Miguel](https://profiles.wordpress.org/babaloo/) September 18, 2026 1 reply

I'ḿ not the one to rush into writing a review, but Advanced IP blocker deserves 
it. Ive been a long time user of AIOS (free version), which is an established asset
of the Wordpress community. I have to say this plugin supersedes it in many ways.
Cloudflare integration, for a start, is a feature that adds the weight of a very
robust access control management to your protection model. I hope more people give
it a try and strengthen its development. Congratulations to the IniLerm, the dev,
for his effort and making this tool accessible.

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

### 󠀁[The most important plugin for our wordpress sites](https://wordpress.org/support/topic/the-most-important-plugin-for-our-wordpress-sites/)󠁿

 [anotherwebdev](https://profiles.wordpress.org/anotherwebdev/) August 20, 2026 
1 reply

At first it was a bit daunting with so many options, and once in the past it almost
locked me out, but now we use it on EVERY wordpress site we work with. Its very 
reliable and you will be surprised with the amount of new blocks that are received
daily. At this moment I'm financially very low, but I hope soon I can make a nice(
reocurring) donation, because this plugin does more for free than many paid plugins
promise. Keep it going 🙏 and thank you! ⚡⚡

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

### 󠀁[Just AWESOME!](https://wordpress.org/support/topic/just-awesome-353/)󠁿

 [nwjeff](https://profiles.wordpress.org/nwjeff/) August 19, 2026 1 reply

This plugin has so many great, useful features and more features and enhancements
keep coming. If you are not using this plugin, you are really missing out on a lot
of protection for your website. Yes, there are other plugins that offer some of 
the same features but why use multiple plugins when AIB covers them all in just 
one plugin. Oh, and AIB is free! Thank you for all your hard work on AIB!

 [ Read all 28 reviews ](https://wordpress.org/support/plugin/advanced-ip-blocker/reviews/)

## Contributors & Developers

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

Contributors

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

[Translate “Advanced IP Blocker” into your language.](https://translate.wordpress.org/projects/wp-plugins/advanced-ip-blocker)

### Interested in development?

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

## Changelog

#### 8.14.1

 * **BUG FIX (Settings Save Validation for AIB Cloud Tokens):** Fixed a client-side
   JavaScript validation check in **Settings -> General Settings -> AIB Threat Network**
   that only accepted legacy `AIB_*` tokens and prevented saving plugin settings
   on sites connected to AIB Cloud (`aib_live_*` tokens). Both `aib_live_*` and 
   legacy `AIB_*` formats are now accepted seamlessly.

#### 8.14.0

 * **NEW FEATURE (AIB Cloud Portal & 1-Click Connect):** Introduced `ADVAIPBL_Cloud_Client`(`
   includes/class-advaipbl-cloud-client.php`) supporting verified per-site SHA-256
   API tokens (`aib_live_*`) managed through the official AIB Cloud Portal (`https://
   app.advaipbl.com`). Link up to 5 WordPress websites for free via a secure 1-Click
   HTTPS Connect flow (with per-user cryptographic state validation) or manual token
   entry, unlocking higher daily quotas for Deep CVE Scanning (10/day), Server IP
   Reputation (30/day), Community Blocklist syncs (10/hour), and Attack Reports (
   120/hour).
 * **RESILIENCE & PERFORMANCE (Entitlement Caching & Unified Auth Headers):** Added
   local 6-hour transient caching for cloud plan entitlements with a 72-hour fail-
   open fallback so local firewall modules and synced rules continue operating uninterrupted
   even during central maintenance. Unified all central API requests (Community 
   Blocklist, Attack Reports, Site Scanner, and Token Verification) through `ADVAIPBL_Main::
   get_api_auth_headers()` with normalized `X-AIB-Site-Hash` and version headers.
 * **UI & UX (AIB Account Connection & Setup Wizard):** Upgraded **Settings -> General
   Settings -> AIB Threat Network** to display live AIB Cloud Portal tier badges,
   active daily scanner quotas, **Verify Connection** plan feedback, and direct **
   Manage in AIB Cloud Portal** / **Quotas & Guide** links. Added an optional, zero-
   friction **AIB Cloud Portal (Free Account)** card to Step 5 of the Onboarding
   Setup Wizard.
 * **COMPATIBILITY (100% Legacy V3 Backwards Compatibility & WordPress 7.2):** Existing
   installations using anonymous Legacy V3 keys (`AIB_*`) continue operating seamlessly
   without interruption, with an optional 1-click **Link Free AIB Cloud Account**
   upgrade button. Tested and verified compatible with **WordPress 7.2**.
 * **DOCUMENTATION & I18N:** Added contextual links to the new [AIB Cloud Portal & Quotas Guide](https://advaipbl.com/aib-cloud-portal-api-keys-quotas/)
   and updated `languages/advanced-ip-blocker.pot` with all new strings.

#### 8.13.29

 * **NEW FEATURE (Critical Admin & Privilege Escalation Alerts):** Added immediate
   security notifications (Email, Push Webhooks, or Both, with optional dedicated
   agency email) under **Settings -> Internal Security & Forensics** for new admins,
   role promotions, registration/default-role changes, and admin logins from new
   countries.
 * **NEW FEATURE & SECURITY (Native Telegram Bot API & Webhook Hardening):** Added
   native Telegram Bot API support (`parse_mode: HTML`, `message_thread_id`) in 
   Push Notifications and hardened outbound webhooks against SSRF (`https://`, `
   wp_safe_remote_post()`, `redirection => 0`, `timeout => 5`, and masked tokens
   in logs).
 * **NEW FEATURE (Advanced Rules Dry-Run / Simulation Mode):** Added a `Log Only(
   Simulate / Dry-Run)` action to the Advanced Rules Engine so administrators can
   test complex rules in production – recording matches in Security Logs and rule
   hit counters – without blocking or challenging legitimate traffic.
 * **NEW FEATURE (Firewall & Proxy Diagnostics + Support Report):** Expanded Local
   Site Scan with three instant diagnostic checks (Proxy & Whitelist health, active
   security/WAF plugin conflict detection, and internal DB/FIM/OPcache verification)
   plus a one-click **Copy Anonymized Support Report** button that excludes domains,
   IPs, emails, and tokens.
 * **PERFORMANCE & API OPTIMIZATION (WP-Cron Frequencies):** Rescheduled queued 
   Community Threat Reports (`advaipbl_community_report_event_v2`) from 6 hours 
   to **hourly** (with randomized jitter) for faster global threat intelligence 
   updates, while reducing passive version-check polling for Zero-Day WAF rules 
   to **every 2 hours** (`advaipbl_2_hours`) and FIM signatures to **every 6 hours**(`
   advaipbl_6_hours`).
 * **COMPATIBILITY & RESILIENCE (Legacy Database & Cooldown):** Changed `advaipbl_activity_log.
   timestamp` to `TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP` for full compatibility
   with older MySQL 5.5 / MariaDB servers, and added a 15-minute transient cooldown(`
   advaipbl_db_check_cooldown`) to `check_database_update()` to prevent repeated`
   dbDelta()` retries on every admin request.
 * **ENHANCEMENT (Documentation & Cleanup):** Added direct contextual help links
   to the new Push Notifications and FIM documentation guides on `advaipbl.com`,
   and extended `uninstall.php` to clean up all `advaipbl_%` user meta keys on plugin
   removal.

For earlier versions (8.13.28 and older), please see CHANGELOG.md included in the
plugin directory.

## Meta

 *  Version **8.14.1**
 *  Last updated **5 days ago**
 *  Active installations **3,000+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **7.2**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [2FA](https://wordpress.org/plugins/tags/2fa/)[firewall](https://wordpress.org/plugins/tags/firewall/)
   [Geoblocking](https://wordpress.org/plugins/tags/geoblocking/)[security](https://wordpress.org/plugins/tags/security/)
   [WAF](https://wordpress.org/plugins/tags/waf/)
 *  [Advanced View](https://wordpress.org/plugins/advanced-ip-blocker/advanced/)

## Ratings

 4.9 out of 5 stars.

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

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

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

## Contributors

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

## Support

Issues resolved in last two months:

     22 out of 22

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://donate.stripe.com/14AdRa04bgGk7V35zRgUM01)