config: update ip rule page
This commit is contained in:
@@ -25,6 +25,8 @@ whitelist-ip 192.168.1.1/24
|
|||||||
|
|
||||||
## 黑名单IP地址
|
## 黑名单IP地址
|
||||||
|
|
||||||
|
如下想对某个上游限制其返回的IP地址,将指定范围的IP丢弃,则可设置黑名单如下:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
server -blacklist-ip
|
server -blacklist-ip
|
||||||
blacklist-ip 192.168.1.1/24
|
blacklist-ip 192.168.1.1/24
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ whitelist-ip 192.168.1.1/24
|
|||||||
|
|
||||||
## Blacklist IP addresses
|
## 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
|
```shell
|
||||||
server -blacklist-ip
|
server -blacklist-ip
|
||||||
blacklist-ip 192.168.1.1/24
|
blacklist-ip 192.168.1.1/24
|
||||||
|
|||||||
Reference in New Issue
Block a user