Skip to content

Clash Core · Built on mihomo

Speed, measured.Trust, open source.

Clash Core is the proxy core that powers Clash. Built on proven mihomo and retuned for Apple NetworkExtension constraints, it handles traffic on your device—with performance measured on real hardware and its complete source code open for anyone to inspect.

Latest SDK

v1.19.34-clash.2
Upstream coremihomo 1.19.34 ↗
iOSiPadOSmacOStvOS

Measured on Mac, iPhone, iPad, and Apple TV

Mac, iPhone, and iPad top
10 Gbit/s on one connection.

  1. Mac mini (M4 Pro)14.16 Gbit/s11.58 Gbit/s up
  2. iPhone 17 Pro Max12.29 Gbit/s9.55 Gbit/s up
  3. iPad Pro (M2)11.00 Gbit/s8.62 Gbit/s up
  4. Apple TV 4K8.32 Gbit/s6.62 Gbit/s up

Both ends of the test run on the same device: traffic passes through Clash's tunnel, rules, and proxy node, but not an outside network, so this measures what Clash itself can handle, not your internet speed. On iPad, memory stays under 14 MiB during the test. Actual speeds depend on your network and node.

The heart of Clash

Trust belongs
where your traffic flows.

Clash makes the network feel simple. Clash Core is the part that actually handles connections, DNS, and rules. It does not ask you to trust a promise: its runtime boundaries are built into a fully open-source implementation anyone can inspect.

01

No private APIs

Clash Core runs inside NetworkExtension and reads and writes the virtual network interface the system creates for the tunnel, as WireGuard and sing-box do; when it can't, it falls back to the public NEPacketTunnelFlow API. It never calls private APIs.

02

Control stays on-device

Status, traffic, connections, and logs travel over an app-private local channel by default. Only when you choose Local Network for the External Controller does it open to your local network, encrypted and protected by a secret.

03

Profiles stay with the client

The client downloads and stores profile URLs, then hands Clash Core the prepared runtime configuration. Clash Core applies it and only fetches resources that configuration declares, such as rule sets and geo data.

Open source · independently reviewable

Performance can be measured.
Security should be inspectable.

Clash Core builds on stable mihomo releases and is adapted for Apple NetworkExtension. SDK versions are separate from the Clash App Store app version. The core uses the GPL-3.0 license; source code, build details, and SDK releases are all public at ProjectClash/Clash. The latest, v1.19.34-clash.2, is based on mihomo 1.19.34.

Latest SDKv1.19.34-clash.2

Complete source and build artifacts are on GitHub

Upstream coremihomo 1.19.34

Follows stable mihomo releases

Apple architectures5 slices

iOS device and simulator, macOS, tvOS device and simulator

A proven data plane

The Clash capabilities you know,
inside Apple’s system boundaries.

Protocols

Connect to the routes you use

Shadowsocks, VMess, VLESS, Trojan, Snell, Hysteria2, TUIC, WireGuard, AnyTLS, SSH, and more.

DNS

Resolution follows the rules too

DoH, DoT, DoQ, fake-IP, traffic sniffing, and per-domain resolver policies.

Routing

Direct when it should be direct

domain, IP-CIDR, GEOIP, GEOSITE, RULE-SET, sub-rules, and logical rules.

Policy groups

Select, test, and fail over

select, url-test, fallback, load-balance, health checks, and remote providers.

Local control

Runtime state stays visible

Status, traffic, connections, proxies, logs, latency tests, and connection control remain available to the app locally, and on Mac from Terminal with clash-cli.

Platform differences

macOS adds process rules

macOS can match process names, executable paths, and UIDs; signing-ID and team-ID matching remain unavailable. In Packet Tunnel mode, iPhone, iPad, and Apple TV do not expose per-app or per-process identity.

Do not take our word for it

Want the code? Read it.

Inspect the implementation, follow SDK releases, or review the repository’s security information. Verifying Clash Core requires no one’s permission.