Launching today

OpenSurge for Mac
Turn your Mac into a home gateway with per-device routing
2 followers
Turn your Mac into a home gateway with per-device routing
2 followers
Turn your Mac into an open-source gateway for your home network. Route phones, TVs and consoles by device, domain or rule; import mihomo profiles or build your own policies; and see live connections, traffic and proxy health in a local web dashboard. Start with selected devices or let the Mac provide DHCP/DNS for a configured LAN. Includes transparent proxying, independent Mac routing, Tailscale outbound, experimental IPv6, and a menu bar app with recovery guidance.









Hey Product Hunt! I'm Siyang, the maker of OpenSurge for Mac.
A home network can include phones, TVs, game consoles, VR headsets, and computers, each with different routing needs. OpenSurge brings those decisions together on a Mac.
It turns macOS into a gateway for connected devices, with a local web dashboard to configure the network, manage routing policies, and see where traffic goes.
Here's what you can do with it:
- Route devices independently. Let one device follow your rules and give another a dedicated proxy, with additional policies based on domains, IPs, protocols, ports, or rule sets.
- Choose how devices connect. Start with selected devices on your existing LAN, use guided DHCP/DNS takeover for automatic onboarding, or create a separate downstream LAN with its own AP, SSID, or VLAN.
- Manage proxies and rules together. Import mihomo profiles or subscriptions, or add your own proxies, providers, groups, and rules. Preview composed policies and test node latency before starting the gateway.
- See what the network is doing. Inspect per-device connections, upload/download rates, traffic totals, and actual outbound routes. Check proxy health and connectivity to real services from the same dashboard.
- Control your Mac's traffic too. Use transparent proxying or an explicit HTTP/SOCKS proxy, and switch the Mac between Rule, Global, and Direct modes independently of downstream device policies.
- Manage everyday operation. Use the English or Chinese web UI and menu bar app, follow network recovery guidance, and temporarily keep the Mac awake when needed. CLI commands and JSON diagnostics support scripting and troubleshooting.
Optional Tailscale/Headscale outbound access lets authorized devices reach Tailnet resources or use a configured Exit Node. It does not advertise your local LAN. Downstream IPv6 takeover is also available as an experimental, topology-dependent feature.
For a first try, keep your router's DHCP enabled, give one device a stable IPv4 address, and point its gateway and DNS to the Mac. The Mac needs to stay on and connected while serving as its gateway.
OpenSurge is free and open source under GPL-3.0-only, uses mihomo as its proxy engine, and runs on macOS 13+ with Apple Silicon and Intel installers.
I'd love feedback from Mac users and homelab builders: which device would you connect first, and what route would you want it to take?