Block Specific IP Addresses Across WordPress
<203.0.113.25>
or an IPv4 network:
<192.168.1.0/24>
IPv6 addresses and ranges are supported as well.
Control access to your entire WordPress website using IP address and CIDR-based allow or block rules.
IP Allow & Block List works as a WordPress-level IP firewall with two operating modes. Use Blacklist mode to deny specific IP addresses or networks while allowing everyone else, or switch to Whitelist mode to create a private site that only approved IP addresses and networks can access.
Rules apply across the frontend, WordPress login, wp-admin, REST API, AJAX, and XML-RPC. IPv4 and IPv6 are supported, along with CIDR ranges, trusted-proxy-aware client IP detection, lockout prevention, and a customizable access-denied page.
IP Allow & Block List is a Pro module in WP PowerSuite.

<203.0.113.25>
or an IPv4 network:
<192.168.1.0/24>
IPv6 addresses and ranges are supported as well.
It allows you to block selected IP addresses and networks or restrict the entire WordPress site to an approved IP list.
Blacklist mode blocks addresses and CIDR ranges on your list while allowing everyone else.
Whitelist mode allows only addresses and ranges on your list. Everyone else is denied access.
Blacklist is the default.
Yes. Both IPv4 and IPv6 addresses are supported.
Yes. IPv4 and IPv6 CIDR ranges can be added.
Yes. Add one IP address or CIDR range per line.
Nothing is enforced until at least one valid address or CIDR range exists. An empty whitelist does not accidentally block the entire website.
Yes.
Yes.
Yes. Blocked REST requests receive a 403 error.
Yes. Blocked AJAX requests receive an appropriate 403 JSON response.
Yes. IP restrictions apply to XML-RPC requests as well.
No. There is no automatic role bypass. Administrators are subject to the same IP policy as other browser requests.
It checks the currently detected client address when settings are saved. A blacklist that includes your current address or a whitelist that excludes it is rejected.
Yes. If your public IP changes after the rules are saved, a whitelist may no longer include your new address.
Recovery options include WPPS_IP_ACCESS_BYPASS in wp-config.php, WP-CLI, changing the underlying database option, or disabling the plugin through server access.
Yes. WP PowerSuite can use Cloudflare’s CF-Connecting-IP through its client-IP resolver.
Yes, for trusted proxy environments. Arbitrary forwarding headers are not blindly trusted.
Forwarding headers can be spoofed when the server or proxy does not control them correctly. WP PowerSuite restricts real-IP handling to trusted proxy configurations.
Yes. The built-in page supports a custom title, headline, message, logo, background, and text colors.
Yes. A selected HTML file can be used, but its content is sanitized before output.
No. It is an IP and CIDR access-control module, not a geo-blocking system.
No. You decide which addresses and networks belong on the list.
No. Use Limit Login Attempts for repeated authentication attempts or an upstream firewall/WAF for broader traffic rate limiting.
There is no dedicated blocked-request log interface. Developers can use the wp_powersuite_ip_whitelist_blacklist_blocked action for custom handling.
No. It provides WordPress-level IP access control. A CDN, network firewall, or WAF can provide broader and earlier traffic filtering.
Temporary Login token requests are excluded from IP enforcement so that authentication workflow can operate independently.
Yes. A whitelist can restrict which networks reach WordPress while Two-Factor Authentication verifies the identity of allowed users.
Yes. IP Allow & Block List controls requests based on their source address, while Disable REST API and Disable XML-RPC control whether those interfaces should be available.
No. IP Allow & Block List is a Pro module and requires an active WP PowerSuite license.