SagerNet / sing-box

The universal proxy platform
https://sing-box.sagernet.org/
Other
15.38k stars 1.89k forks source link

希望在 rule_set 配置里添加内联配置的功能 #1852

Open pierre-primary opened 2 weeks ago

pierre-primary commented 2 weeks ago

有些小的、在dns_route 和 out_route 重复使用的规则集用 remote 和 local 维护起来都必要繁琐。 希望添加一个内联的规则集类型;如:

"rule_set": [
    {
        "tag": "inline:proxy",
        "type": "inline",
        "rules": [
            // ...
        ]
    }
]
dyhkwong commented 1 week ago

https://sing-box.sagernet.org/configuration/rule-set/headless-rule/