AdguardTeam / AdguardTeam/AdGuardHome

Possibility to specify a list of "allowed clients"

未關閉
#6,143 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to request a feature or enhancement and not ask a question

### The problem

As of now, the list of "Allowed clients" has to be managed manually, by adding IP or IP ranges one by one.

For instance, if one wants to limit access to the ADGH just to IPs from some Country or some Internet provider (as in my case), the list has to be modified periodically "by hand" or one has to fiddle with the AdguarHome.yml file, which is quite uncomfortable.

### Proposed solution

It would be useful to add the possiblity to dynamically load an "Allowed Clients" list from an external source, be it a URL or a local file, with a timer to automatically update the list, with the same mechanism of DNS blocklist.

Thus, on the server side, some script may periodically update an `allowed.txt` list (using `whois.radb.net`, for instance). In turn, ADGH instance would periodically check the `allowed.txt` list for changes.

Thanks a lot in advance.

### Alternatives considered and additional information

_No response_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。