⭐️ Sub-Store

⚠️ 不再支持旧的 ssr-local ShadowsocksR 方案

▎Surge for macOS 必须手动指定链接参数 target=SurgeMac 或在 同步配置 中指定 SurgeMac 来启用 mihomo 支援 Surge 本身不支持的协议

· 手动指定链接参数 target=SurgeMac(2.14.400 更新了此项)

· 需要 mihomo(这个 commit 开始的版本)

查看 mac 系统安装 mihomo 的喂饭命令

· 根据 External Proxy Program 文档 addresses 参数要求为 IP, 可先进行 节点操作 中的 域名解析

· 节点字段 _execmihomo 路径, 默认 /usr/local/bin/mihomo, 需自行下载对应平台的 mihomo 内核到此路径, 并设置好权限.

· 节点字段 _localPort 端口为初始端口号, 逐个递减, 默认为 65535

· 节点字段 _defaultNameserver 为 mihomo default-nameserver, 默认为 180.76.76.76, 52.80.52.52, 119.28.28.28, 223.6.6.6

· 节点字段 _nameserver 为 mihomo nameserver, 默认为 https://doh.pub/dns-query, https://dns.alidns.com/dns-query, https://doh-pure.onedns.net/dns-query

一个小例子: 节点操作 - 脚本操作 - 脚本: $server._localPort = 60000; $server._exec = '/usr/local/bin/mihomo'

▎排查方法

· 使用 /usr/local/bin/mihomo -h 进行检查, 输出有 -config string specify base64-encoded configuration string 即为正常.

· 查看 /tmp/Surge-External-xxxxxx.log 日志. xxxxxx 为节点名称

Sub-Store 合集 频道资源合集 恰饭推荐 群组

#SubStore #更新记录 #changlog #updates