TGViewer
Cool Scripts Cool Scripts @cool_scripts · 16.3K subscribers
Post #602 3.48K
⭐️ Sub-Store

🆕 后端 2.14.374

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

▎Surge for macOS 支持使用 mihomo 来支援 Surge 本身不支持的协议

· 根据 User-Agent 自动识别 或 手动指定链接参数 target=SurgeMac

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

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

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

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

一个小例子: 节点操作 - 脚本操作 - 脚本: $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 为节点名称

ℹ️ 相关内容

链接参数说明
脚本使用说明

代理 App 版安装下载

服务器/云平台/Docker/Android 版的相关教程

相关教程/脚本整合
More from @cool_scripts
  1. Sep 27, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.42.0 🌐 前端: 2.34.0 ▎使用 shoutrrr-ts Docker 版也移除了 shoutrrr 二进制 感谢 D…
  2. Sep 26, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.1 🌐 前端: 2.34.0 ▎调整 sing-box SSH 密钥逻辑 感谢群友 shica 的反馈 ▎调整 SS UR…
  3. Sep 23, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.41.0 🌐 前端: 2.34.0 ▎📦 sing-box WireGuard/Tailscale 支持一些 sing-box…
  4. Sep 19, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.9 🌐 前端: 2.32.2 ▎🎈 Loon 支持 server-dns 用于指定解析节点服务器域名的 DNS Loon…
  5. Sep 12, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.6 🌐 前端: 2.32.2 ▎🐿️ Egern 支持转换 ip-version 感谢群友 shica 的反馈 自动转换…
  6. Sep 11, 2026🔗 Sub-Store 更新 ⚙️ 后端: 2.39.4 🌐 前端: 2.32.0 ▎SubCase 1.3 新增通知栏快捷开关 (Quick Settings Tile) 新…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →