OpenSurge-for-Mac
YTwsy/OpenSurge-for-Mac · Public GitHub repository
Surge-style whole-home gateway and control plane for macOS with IPv4/IPv6 support— mihomo TUN, dnsmasq-powered DHCP/DNS, per-device routing, and an agent-friendly validation workspace.
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
把 Mac 变成可按设备分流的 Surge 风格全屋透明代理网关——既可让指定设备通过旁路由手动接入,也支持 DHCP/DNS 自动接管与实验性下游 IPv6 接管
OpenSurge for Mac 是一个开源的 Surge 风格 macOS 网关与控制面。多数用户可以先从 旁路由模式开始:主路由 DHCP 保持开启,只让需要接入的设备使用稳定 IPv4,并把网关和 DNS 指向 Mac。需要让同一局域网的设备自动接入时,也可以选择局域网 DHCP 接管;有独立 AP、SSID 或 VLAN 时,则可以使用独立下游 LAN。三种模式均可按需启用实验性的 IPv6 接管。
无论采用哪种模式,你都可以为已登记设备配置不同的出口策略:手机和 Mac 一起走规则 分流、游戏机连美服、电视走流媒体节点。在局域网 DHCP 接管和独立下游 LAN 模式下, 接入相应网络的手机、电视、PS5 和 VR 设备,都可以自动从 Mac 获取 DHCP/DNS,无需逐台 修改网关和 DNS。
- 导入已有的 mihomo 配置或订阅是可选能力;默认折叠的全局附加配置可以单独添加节点、
- Web GUI 实时展示每台设备的连接、上下行流量和实际出口链;菜单栏随时查看网关状态与恢复提醒。
- 菜单栏与 Web GUI 提供默认关闭、仅本次运行有效的合盖保持运行开关。
Requirements and intended audience
把 Mac 变成可按设备分流的 Surge 风格全屋透明代理网关——既可让指定设备通过旁路由手动接入,也支持 DHCP/DNS 自动接管与实验性下游 IPv6 接管
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-28. Source: https://github.com/YTwsy/OpenSurge-for-Mac/blob/master/README.md
Recorded maintenance information
Last recorded source update: 2026-11-02. Saved release: v0.3.0 · 2026-10-02. These dates do not guarantee ongoing maintenance.
- Technologies
- Go
- Licence
- GPL-3.0. Distributing the software or derivatives can require sharing source under the same licence.
- Demo check
- A public page loaded on 2026-11-23. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge