chore: adjust doc
This commit is contained in:
parent
1044b39fcb
commit
c46b50fb5f
1 changed files with 11 additions and 1 deletions
|
@ -538,7 +538,7 @@ rules:
|
|||
- DOMAIN-KEYWORD,google,ss1
|
||||
- IP-CIDR,1.1.1.1/32,ss1
|
||||
- IP-CIDR6,2409::/64,DIRECT
|
||||
- SUB-RULE,((NETWORK,TCP)),sub-rule-name1 # 当满足条件是 TCP 流量时,使用名为 sub-rule-name1 当规则集
|
||||
- SUB-RULE,((OR,((NETWORK,TCP),(NETWORK,UDP)))),sub-rule-name1 # 当满足条件是 TCP 流量时,使用名为 sub-rule-name1 当规则集
|
||||
- SUB-RULE,((AND,((NETWORK,UDP)))),sub-rule-name2
|
||||
# 定义多个子规则集,规则将以分叉匹配,使用 SUB-RULE 使用
|
||||
# google.com(not match)--> baidu.com(match)
|
||||
|
@ -546,6 +546,16 @@ rules:
|
|||
# / |
|
||||
# https://baidu.com --> rule1 --> rule2 --> sub-rule-name1(match tcp) 使用 DIRECT
|
||||
#
|
||||
#
|
||||
# google.com(not match)--> baidu.com(not match)
|
||||
# / |
|
||||
# / |
|
||||
# dns 1.1.1.1 --> rule1 --> rule2 --> sub-rule-name1(match udp) sub-rule-name2(match udp)
|
||||
# |
|
||||
# |
|
||||
# 使用 REJECT <-- 1.1.1.1/32(match)
|
||||
#
|
||||
|
||||
sub-rules:
|
||||
sub-rule-name1:
|
||||
- DOMAIN,google.com,ss1
|
||||
|
|
Loading…
Reference in a new issue