config: update ip rule page

This commit is contained in:
Nick Peng
2023-03-26 17:15:23 +08:00
parent bf4f66ae0f
commit c2a5232a75
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ whitelist-ip 192.168.1.1/24
## 黑名单IP地址
如下想对某个上游限制其返回的IP地址将指定范围的IP丢弃则可设置黑名单如下
```shell
server -blacklist-ip
blacklist-ip 192.168.1.1/24

View File

@@ -25,6 +25,8 @@ whitelist-ip 192.168.1.1/24
## Blacklist IP addresses
To restrict the return of IP addresses from a certain upstream and discard IP within a specified range, a blacklist can be set up as follows:
```shell
server -blacklist-ip
blacklist-ip 192.168.1.1/24