База знаний

Access allowlists, blocklists, and filtering exceptions

IP lists let you restrict access to the whole site or exempt trusted addresses from protection checks.

Before you start

The site must be working and available for management. Determine the public IP of the visitor or service. Replace example.com and the example office IP 198.51.100.27 with your own values. Use /32 for one IPv4 address, for example 198.51.100.27/32.

Understand the lists

Some IP controls currently have Russian labels even in the English interface:

Panel label Effect
Белый список (access allowlist) With Пускать только из белого списка selected, only listed IPs and networks can access the whole site.
Чёрный список (blocklist) With Блокировать чёрный список selected, listed IPs and networks are denied access.
Исключения из фильтрации (filtering exceptions) Exempts addresses from protection checks. It does not grant access denied by access restrictions.

Filtering exceptions are separate from the access allowlist. Без ограничений means no access restriction by IP; other protection settings are managed separately.

Steps

  1. Open WebShield → example.com → Access Control → IP restrictions.
  2. Enter an IP or CIDR network in the required list and press the green + button or Enter. The address must appear as a separate row; typing it is not enough.
  3. Wait for Saved.... Adding and removing rows saves automatically.
  4. To restrict the entire site to trusted addresses, add your public IP to Белый список first. Wait for saving, then select Пускать только из белого списка.
  5. To deny individual sources instead, fill Чёрный список and select Блокировать чёрный список. These are alternative access modes.
  6. Add addresses to Исключения из фильтрации only when you intend to trust them to bypass checks. Allow saving and synchronization after each change.

IP access modes and the three separate lists

Check the result

Reload the panel and confirm the selected mode and list entries. Test the site from the trusted address and another network, such as mobile internet. Use the public exit IP, rather than a computer's local address.

To restrict only an administration area, use the rule for `/admin/`.

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