Block an IP address range
Last updated on
30 April 2025
In this tutorial we will block an IP address range.
REQUIREMENTS
- Troll 6.x
- Drupal 6.x
STEPS
- Navigate to
admin/user/troll/ip_blacklist/import - Into the field
List:type in the start of IP range to block.
For example if you want to block172.16.254.0through172.16.254.255then type in172.16.254.0/24
This would block the 256 IP address locations.Notes:
-The IP format must be*.*.*.*/24
-Replace * by numbers. You must add/24at the end./24is a CIDR notation. Read more - To view the full list of blacklisted IPs go to
admin/user/troll/ip_blacklist/search
Search for any IP within the range you just blocked. For example172.16.254.50without the quotes. If successful the IP shows as blacklisted.
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion