# Ограничение доступа RDP по IP-адресу

**RDP (Remote Desktop Protocol)** — протокол, который позволяет удаленно работать с сервером.

Для настройки, откроем **«Панель управления → Система и безопасность»**.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server1.png)

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server2.png)

Далее перейдем в меню **«Брандмауэр защитника Windows»**.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server3.png)

Перейдем в меню **«Дополнительные параметры»**.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server4.png)

В появившемся окне нужно выбрать **правила для входящих подключений**.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server5.png)

Далее найдем активное правило **«Удаленный рабочий стол - пользовательский режим (входящий трафик TCP)»**.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server6.png)

В **Свойствах** данного правила есть вкладка **Область**, на которой задаются адреса или диапазоны адресов, с которых можно будет подключаться по RDP. Чтобы отфильтровать внешние подключения по IP-адресам, нужно в список **Удаленный IP-адрес** прописать все IP-адреса, диапазоны адресов и подсети, с которых будет разрешено подключение к этому компьютеру по RDP.

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server8.png)

![file](https://fornex.com/media/article/img/rdp-access-ip-windows-server7.png)

После добавления каждого желаемого IP-адреса нажмите кнопку **ОК**, чтобы внести изменения.


---

# 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://docs.sclad.group/baza-znanii-skladtim/administrirovanie-windows/ogranichenie-dostupa-rdp-po-ip-adresu.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.
