YTwsy/OpenSurge-for-Mac
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. observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 99
- Longevity 4
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 1.0
- age_days: 65
- days_rel: 11
- days_push: 8
- n_releases_24m: 13
Adoption not part of the score
2281 stars · 155 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
OpenSurge for Mac is an open-source, Surge-style macOS gateway and control plane that turns a Mac into a whole-home transparent proxy gateway powered by mihomo, with dnsmasq-based DHCP/DNS and TUN networking. It supports bypass-router, LAN DHCP takeover, and downstream LAN modes with per-device routing policies and an agent-friendly validation workspace.
Use cases
- turn my mac into a whole-home proxy gateway
- route game console and tv traffic through a proxy without installing apps on them
- set up a bypass router on macos with per-device rules
- take over lan dhcp and dns from a mac
- give each device in my house a different proxy exit policy
- run a surge-style transparent proxy on apple silicon
- manage household network routing from one control plane
When to choose
- you want Surge-style whole-home transparent proxying on a Mac you already own
- devices like consoles, TVs, or VR headsets can't run proxy clients and need gateway-level routing
- you want per-device routing policies with DHCP/DNS takeover and a web GUI
- you prefer an open-source, self-hosted gateway with mihomo compatibility
When to avoid
- you need a production router for a large or business network rather than a home setup
- you require stable IPv6 takeover, which is still experimental
- you want a dedicated hardware router solution instead of dedicating a Mac as the gateway
- you need non-macOS platforms
Facets
application · maturity active
proxy networking routing caching gui monitoring networking self-hosted privacy developer-tools censorship-circumvention self-hosted go transparent-proxy tun mihomo dnsmasq dhcp-server bypass-router whole-home-gateway per-device-routing surge-style policy-routing ipv6 web-gui menubar-app macos desktop
2 sources
- readme: https://github.com/YTwsy/OpenSurge-for-Mac · fetched 2026-08-28 · 754bc6a479ea
- homepage: https://opensurge.pages.dev · fetched 2026-08-29 · a6d66efe2411
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| YTwsy/OpenSurge-for-Mac | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="YTwsy/OpenSurge-for-Mac")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem