Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
为Clash格式的订阅新增了链式代理的功能
有时某个机子无法直接访问,但是IP又极好,就可以用第二台机子作为中间商进行链式代理
但是很多小猫咪的GUI实现没有或者很少有链式代理的GUI实现和资料
需要查阅资料手动修改配置, 故此用一种比较优雅的实现来方便使用链式代理
实现方式如下
新增两个proxygroup:
🔓 链式落地
和🔗 中转站
链式落地
中选择代理A,中转站
中选择代理B, 最后在节点选择
中选择链式落地
,此时有具体在yaml中为
代码实现思路是克隆节点,并在name后加"-chain"以表为链式落地节点
克隆的*-chain节点并入
链式落地
,中转站
保持原本的节点此时用户可以自己在两个节点之间DIY链式代理
测试地址sublink
不常用Sing-Box所以没有写, 顺便贴一下Sing-Box的实现