# Добавление IP-адресов в whitelist в Cloudflare

1. Зайдите в личный кабинет [Cloudflare](https://dash.cloudflare.com/).
2. В разделе "**Account Home**" кликните по названию домена, для которого хотите создать белый список (whitelist) IP-адресов.

<figure><img src="/files/2p03quL1NorrjQV1pBkr" alt=""><figcaption></figcaption></figure>

3. Перейдите в раздел "**Security"** ➔ **"Security rules"** ➔ кнопка **"Create rule"** ➔ "**Custom rules**".

<figure><img src="/files/bhPkx9fi6a5pdYJG0Ylt" alt=""><figcaption></figcaption></figure>

4. Укажите конкретный IP-адрес/диапазон IP-адресов/страну, к которой относятся IP-адреса или [ASN (autonomous system number)](https://blog.browserscan.net/ru/docs/what-is-an-asn) (когда речь идет о конкретной организации) и выберите действие "**Skip**", а также отметьте галочками пункты согласно скриншоту ниже, чтобы для указанных IP-адресов был доступ к вашему сайту. Нажмите кнопку "**Deploy**".

<figure><img src="/files/rsWnNtRCMghtwzyx5nhd" alt=""><figcaption></figcaption></figure>

Созданное правило будет отображаться в списке всех правил.

<figure><img src="/files/Bds3v7534ETbmabKe7jO" alt=""><figcaption></figcaption></figure>

## Использование ASN

При добавлении по **ASN** вместо диапазона IP-адресов (в примере ниже это Telegram) используйте поиск по IP-адресу, относящемуся к искомой ASN. Для этого нужно найти ASN (их может быть несколько) по IP-адресам (к примеру, по 91.108.6.73) через [сервис Radar от Cloudflare](https://radar.cloudflare.com/ip).

<figure><img src="/files/to82j1mqtyrMPYqvZZna" alt=""><figcaption></figcaption></figure>

**ASN** для Telegra&#x6D;**: AS44907, AS59930,** **AS62014, AS62041, AS211157** — их нужно добавить отдельными правилами в разделе "**Security"** ➔ **"Security rules":**

<figure><img src="/files/HUpwBgM1q8ZBryESAMEq" alt=""><figcaption></figcaption></figure>

Созданные правила будут отображаться в разделе.

<figure><img src="/files/rLym3VvkYNwHhOGlAZWD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://premium.gitbook.io/main/osnovnye-nastroiki/faq/dobavlenie-ip-adresov-v-whitelist-v-cloudflare.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
