Enables blocking of IP addresses.
This module restores lost Drupal core functionality with some improvements.

You can:

  • see when IP was blocked, who of users block this IP and reason for blocking (if specified);
  • set a 404 (Not Found) status code for visitors from blocked IP instead of default 403 (Access Denied);
  • enable logging for access attempts from blocked IPs.

New in version 1.x-1.0.5:

  • display number of blocked IPs on the "Status report" page;
  • integration with the new "Antiscan" module (https://backdropcms.org/project/antiscan) to
    automatically block IP addresses used by bad crawlers or vulnerability scanners.


Install this module using the official Backdrop CMS instructions at https://backdropcms.org/guide/modules

Configuration and usage

Administration page is available via menu Administration > Configuration >
User accounts > IP address blocking
and may be used for:

  • block an IP address:

    • enter a valid IP address (for example,;
    • (optional) enter description of reason for blocking this IP;
    • click Add;
  • unblock previously blocked IP address:

    • beside an IP address, click "unblock", then confirm unblocking.


This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.

Current Maintainer

Vladimir (https://github.com/findlabnet/)

More information

For bug reports, feature or support requests, please use the module
issue queue at https://github.com/backdrop-contrib/ip_blocking/issues.