Product Features Overview

Clash Core Features
In-depth Analysis

Smart rule engine, 12+ proxy protocols, TUN mode, automatic failover... every feature is designed for one goal: precise, stable, and high-speed network connectivity.

12+ Supported Protocols
5 All-Platform Support
100% Free & Open Source

Six Core Highlights

From a lightweight kernel to fine-grained control, every Clash feature is built for real-world scenarios.

Smart Rule-Based Routing Engine

The rule engine is the heart of Clash. It supports multi-dimensional matching based onDomain (exact/suffix/keyword)IP Ranges (IPv4/IPv6)GeoIP (location)Process Name (PROCESS-NAME), and more. It evaluates each connection's priority to determine the outbound strategy: Direct, Proxy, or Reject. Domestic sites stay fast via direct connection, while global traffic is stabilized via proxy—all without manual switching.

DOMAIN IP-CIDR GEOIP PROCESS-NAME MATCH

Compatible with 12+ Mainstream Protocols

Powered by the Mihomo core, Clash is compatible with all major protocols including Shadowsocks, VMess, VLESS, Trojan, Hysteria 2, TUIC, and WireGuard. Seamlessly connect via provider subscriptions or self-built nodes.

View Full Protocol List

Extreme Performance via Go Language

Built with Go, the Goroutine concurrency model ensures extremely low memory usage (typically <50 MB) and supports high-concurrency connections, ensuring stable, high-speed performance even in weak or complex networks.

TUN Mode for Global Traffic

By creating a virtual network interface, TUN mode intercepts all system TCP/UDP traffic, solving the pain point of gitnpmpipcurl and other terminal tools not being proxied.

Learn about TUN Mode

Rule Provider Subscriptions

Subscribe to rule-providers third-party maintained rule lists (ad filtering, streaming unlock, etc.) with automatic updates. Keep your rule sets up-to-date without manual effort.

Fully Open Source · Free Forever · No Restrictions

The Clash core (Mihomo) and all clients (Clash Verge Rev, FlClash, etc.) are hosted on GitHub under the GPL-3.0 license. The code is public and auditable, with zero subscription fees, no feature walls, and zero ads. All advanced features are ready to use out of the box.

45K+ GitHub Stars
8M+ Global Downloads
100+ Code Contributors

Rule Engine: The Brain of Smart Routing

Clash's rule engine matches connection requests line-by-line by priority, determining where traffic goes—direct for domestic, proxied for global, or blocked. Its precision far exceeds traditional VPNs.

Initiate Connection
Network requests from any app or terminal.
DNS Resolution (Optional)
Domain rules are matched first; if hit, DNS resolution is skipped.
Rule Matching
Sequential matching: DOMAIN / IP-CIDR / GEOIP / PROCESS…
Proxy Group Decision
Select / URLTest / Fallback / LoadBalance
DIRECT Direct
PROXY Proxy
REJECT Reject

IP and GeoIP Rules

IP-CIDR Matches IPv4/IPv6 CIDR ranges exactly.
GEOIP CN Automatically identifies domestic IPs via an internal GeoIP database for zero-maintenance "direct for domestic" routing.

Process and Port Rules

PROCESS-NAME Fine-grained control by process name, e.g., forcing gitnpm through a proxy while the browser remains independent.
DST-PORT Matches by destination port, e.g., routing all port 443 traffic through an HTTPS proxy.

Rule Provider Subscriptions

RULE-SET Reference remote rule set files (YAML/Text) with automatic periodic updates. Subscribe once for ad filtering or streaming unlock.

Fallback Rule MATCH

MATCH A must-have rule at the end of your config to catch all unmatched traffic, ensuring every request has a clear exit.

Compatible with 12+ Mainstream Protocols

Regardless of your provider or self-built node, Clash (Mihomo core) offers native support without extra plugins or converters.

Shadowsocks / ShadowsocksR

Widely Used

The most widely used open-source encrypted proxy protocol. Clash fully supports Shadowsocks (including AEAD) and SSR, compatible with almost all providers. A top choice for beginners.

AES-256-GCMChaCha20-Poly1305AEAD

VMess / VLESS

Mainstream Standard

The V2Ray protocol suite. VMess offers built-in encryption; VLESS is lighter, relying on TLS and utilizing Vision flow control for high throughput.

TLSWebSocketgRPCHTTPUpgrade

Trojan

Anti-Detection

Disguises traffic as standard TLS via port 443. Characteristics are highly similar to normal HTTPS, providing strong interference resistance.

Hysteria 2

High-Speed New Protocol

A next-gen high-performance protocol based on QUIC. Maintains high throughput even in weak networks with high packet loss and latency. Superior to TCP.

QUICUDPAnti-Packet Loss

TUIC v5

Next-Gen

Also QUIC-based, designed for high concurrency and low latency. 0-RTT connection speed is extremely fast, ideal for real-time applications.

QUIC0-RTTLow Latency

Reality

High Stealth

An enhanced TLS disguise for VLESS, using real domain TLS certificates to mask traffic. Extremely difficult to identify via Deep Packet Inspection (DPI).

WireGuard

Modern VPN

A modern, high-performance VPN protocol integrated into the Clash rule system. Can be used as a proxy tunnel, ideal for self-built nodes.

Snell

Lightweight & Efficient

A lightweight proxy protocol designed for the Surge/Clash ecosystem. Very low latency, ideal for high-frequency interactions.

HTTP(S) / SOCKS5

Universal Standard

Compatible with traditional HTTP and SOCKS5 proxy protocols. Supports older tools and corporate intranet proxies with full backward compatibility.

Proxy Group Strategies: Smart Node Management

Proxy groups determine which node is used once a rule is matched. Four strategies cater to different scenarios.

Select · Manual Selection

type: select

The most flexible group. Manually select the current node or proxy group in the client UI. The standard mode for daily use, supporting quick region switching.

  • Manual Switch Node/Region
  • Supports nesting other proxy groups
  • For users who want total control

URLTest · Latency Optimization

type: url-test

Periodically measures latency to a specific URL for all nodes in the group. Automatically switches and remains connected to the lowest latency node.

  • Auto-select lowest latency node
  • Timed tests, real-time updates
  • For users seeking the best speed

Fallback · Auto-Failover

type: fallback

Prioritizes the first available node in sequence. Automatically and seamlessly switches to a backup node if the primary is unreachable, maximizing stability.

  • Auto-switch on primary failure
  • Auto-revert once primary recovers
  • For scenarios requiring high stability

LoadBalance · Load Balancing

type: load-balance

Distributes different connections across multiple nodes in the group to increase overall concurrency and throughput. Ideal for high-bandwidth users.

  • Parallel traffic across nodes
  • Boosts high-concurrency download speeds
  • Supports consistent-hashing strategy
Transparent Proxy

TUN Mode: Proxies All Traffic

Traditional system proxies only handle requests via HTTP/HTTPS. Terminal tools (like git clonenpm installcurlpip) often bypass system proxies, leading to connection issues.

TUN mode creates a virtual network interface to intercept all system-level TCP and UDP traffic. This solves the terminal proxy issue—all network requests from all processes pass through the Clash rule engine. Its precision and coverage far exceed traditional system proxies.

Full Terminal Coverage CLI tools like git, npm, pip, cargo, and brew are proxied automatically.
Full Traffic Interception Dual-stack TCP + UDP support, including games and video calls.
Process-Level Control Use PROCESS-NAME rules to precisely control the exit strategy for every app.
One-Click Enable Clash Verge Rev and FlClash offer simple toggles for TUN mode without manual network setup.
View TUN Mode Configuration Guide

All-Platform Coverage, Rule Sync Everywhere

Regardless of your device, there's a Clash client for it. Reuse configurations across platforms and sync updates everywhere via a single subscription link.

Windows

Recommended:Clash Verge Rev

  • Supports Windows 10 / 11
  • x64 & ARM64 Architectures
  • System Proxy / TUN Mode
  • Dark Theme · Multilingual UI
  • One-Click Subscription Import
Download for Windows

macOS

Recommended:Clash Verge Rev

  • Supports macOS 12 Monterey+
  • Intel & Apple Silicon (M-Series)
  • Menu Bar Quick Switch
  • System Proxy / TUN Mode
  • Native ARM64 Optimization
Download for macOS

Android

Recommended:FlClash

  • Supports Android 5.0+
  • arm64-v8a · x86_64
  • Material You Design Style
  • Global VPN Mode
  • Per-App Proxy Configuration
Download for Android

iOS

Recommended:Stash · Shadowrocket

  • Supports iOS 15+
  • App Store Download (Non-Mainland)
  • Compatible with Clash Configs
  • Widget Quick Switch
  • System-Level VPN Integration
View iOS Setup Guide

Linux

Recommended:Clash Verge Rev

  • Supports Ubuntu / Debian / Arch
  • deb · rpm · AppImage
  • amd64 · ARM64
  • TUN Mode · Transparent Proxy
  • System Tray Integration
Download for Linux

Open Source Advantage: Transparent, Trusted, Free Forever

Open source is more than a slogan; it's a commitment to every user's privacy and security.

Fully Public Code for Independent Audit

The Clash core (Mihomo) and all official clients are hosted on GitHub. Any developer can fork, audit, compile, and modify the code—no need to trust a "black box." Unlike closed-source tools, you can verify yourself that no data is recorded or sold.

Visit Mihomo GitHub Repository

Zero Fees Forever

Every feature of Clash has been completely free since day one. No "Pro versions," no locked features, and no monthly subscriptions. All users enjoy the same full experience.

Community-Driven Continuous Updates

Over 100 contributors worldwide continuously improve the core and clients. Community feedback directly drives new features, with bug fixes far outpacing closed-source software.

GPL-3.0 License Protection

Adhering to the GPL-3.0 license, any derivative version of Clash must also be open-source, ensuring the ecosystem remains open and user rights are protected.

45K+
Mihomo GitHub Stars
8M+
Total Global Downloads
100+
Code Contributors
2018
Project Inception Year

Ready to Experience Smart Proxying?

Download the Clash client for free, complete setup in 5 minutes, and enjoy a stable, high-speed connection instantly.

Windows macOS Android iOS Linux