База знаний

Block an IPv4 address or subnet

Эта статья есть на вашем языке: Как заблокировать IPv4-адрес или подсеть

Add an unwanted request source to the site's access blacklist. Use /32 for one IPv4 address, or the appropriate CIDR mask for a network. 198.51.100.99/32 and 198.51.100.0/24 are examples to replace; the /24 covers every address from .0 through .255.

Verify the source's public IP first. A shared network can include legitimate visitors. Record the current access mode: changing from an allowlist to a blacklist opens access to addresses that were previously excluded. If the site already uses an allowlist, review that list or a separate rule before changing its policy.

Add the block

  1. Open WebShield → Manage project → Manage site → Access Control → IP restrictions.
  2. Under Чёрный список (Blacklist), enter the IPv4/CIDR and click the green + button. Check the range hint before adding a network.
  3. Select Блокировать чёрный список (Block the blacklist), if that is the intended mode for the entire site. These list and mode labels remain in Russian.
  4. Wait for automatic saving to succeed. Reload and confirm the entry and mode.
  5. After application, test a request from the added source and another network. Confirm that the intended source is denied while the control network still works.

This form accepts IPv4 with CIDR masks from /1 through /32. Entering a single IPv4 without a mask adds /32. Your tariff limits the number of entries. These fields do not accept IPv6.

To remove a block, click the trash icon beside its entry and wait for saving. Без ограничений (No restrictions) disables IP-list enforcement as a whole; use it only when removing all restrictions of this kind. Исключения из фильтрации (Filtering exceptions) is a separate list and does not override access denial. See the IP-list comparison.

Статья была полезна?