GLOSSARY / Quick Reference

Clash Glossary: Proxy Protocols, Cores & Config Terms Explained

A reference of high-frequency Clash ecosystem terms, organized into six categories. Use this page as a lookup table while reading guides, editing configs, or troubleshooting: find the category, then jump straight to the term via the index.

Terms 29 Categories 6 Current core mihomo Config format YAML

C-01 / PROTOCOL · 6 terms

Proxy Protocols

The transport agreement between a node and the server. Start by checking core support, then match the protocol to your network: QUIC-based protocols suit lossy mobile networks, while lean protocols suit low-power devices.

Shadowsocks(SS)

Proxy Protocols

A lightweight encrypted proxy protocol released in 2012, built on SOCKS5 forwarding. Designed for a simple traffic signature and low protocol overhead, with minimal fields and many implementations. Supported by every Clash-family core, and runs stably even on low-power routers.

VMess

Proxy Protocols

The native protocol of the V2Ray project, with built-in user ID verification and timestamp-based replay protection. Typically paired with WebSocket or TCP transport, with a larger set of config fields. Both Clash and mihomo can parse it directly with no format conversion needed.

Trojan

Proxy Protocols

A protocol that disguises proxy traffic as HTTPS traffic, forcing TLS encryption. The server must hold a valid certificate and domain, making traffic look identical to normal web browsing. Certificate expiry is the top reason these nodes stop working.

VLESS

Proxy Protocols

A streamlined protocol introduced later by V2Ray, dropping built-in encryption and handing security off to outer TLS. Smaller header overhead, often paired with transport schemes like Reality. Supported only by newer cores like mihomo; the original Clash core can't parse it.

Hysteria2

Proxy Protocols

A proxy protocol based on QUIC (UDP), designed for unstable, lossy networks. Built-in congestion control lets it ramp up throughput as needed, and the server requires a certificate. Only supported by newer cores like mihomo, and shines on mobile networks.

TUIC

Proxy Protocols

Also a QUIC-based proxy protocol, focused on low latency and multiplexing. Native support for UDP forwarding and 0-RTT handshakes keeps jitter low on lossy connections. Requires the mihomo core; subscription entries use the tuic:// prefix.

C-02 / CORE · 4 terms

Cores & Engines

The program inside the client that actually processes traffic. Knowing the core branch tells you whether a given protocol or feature is available in your client.

Clash (original core)

Cores

The original open-source core maintained by Dreamacro, written in Go, with development stopped in 2023. Supports basic protocols such as Shadowsocks, VMess, Trojan, and Snell. Most clients today have already switched to its successor, mihomo.

Clash Premium

Cores

A closed-source enhanced build released by the original author, once the only option with TUN, scripting, and rule providers, now discontinued alongside the original. These features have all been carried forward into mihomo and kept open source, so there's no need to seek this out for a new setup.

mihomo(Clash Meta)

Cores

The open-source successor to the original Clash core, actively maintained by the community. It builds on the original with support for VLESS, Hysteria2, TUIC, WireGuard, and more rule types. Nearly every mainstream client today runs on this core, with config syntax largely compatible with the original.

External Controller

Cores

A local HTTP control API exposed by the core, listening on 127.0.0.1:9090 by default. GUI clients use it to switch nodes, view connections, and change modes. Configured via external-controller, with access secured by the secret field — never expose it to the public internet.

C-03 / CONFIG · 5 terms

Subscriptions & Config

The full pipeline from subscription to active nodes. Most config errors reported by users trace back to this layer.

Subscription Link

Subscriptions & Config

A node-distribution URL provided by a proxy service. Clients periodically fetch it to get the node list, typically returned as a Base64-encoded list or full YAML. The link contains auth parameters equivalent to account credentials — never leak it or post it publicly.

Config file (config.yaml)

Subscriptions & Config

The main configuration file the core reads on startup, defining ports, mode, nodes, and rules. GUI clients usually manage this file automatically, so manual edits may get overwritten by UI actions. Syntax errors are the most common cause of core startup failure.

YAML

Subscriptions & Config

The markup language used for Clash configs, relying on indentation to express hierarchy. Indentation must use spaces, never tabs; misaligned levels are the most common config mistake. Validate with the client's built-in checker before reloading.

Subscription Conversion

Subscriptions & Config

An online service that rewrites one subscription format into another, useful when an older client can't read a newer format. The conversion passes through a third-party server, exposing node info to that party — a privacy concern, so use with caution.

Proxy Group

Subscriptions & Config

A logical grouping of nodes defined in the config, including manual selection, auto speed test (url-test), load balancing, and failover. Rules point traffic to a group, which resolves to a specific node by policy. Switching nodes in a client's UI is really just switching members within a group.

C-04 / MODE · 5 terms

Proxy Modes

The different ways the core decides where traffic goes. Picking the wrong mode typically shows up as the proxy being on but doing nothing, or local sites getting routed abroad for no reason.

Rule Mode

Proxy Modes

The default operating mode. The core checks each connection against the rule list one by one; matches go through the proxy, everything else goes direct. Routing accuracy depends on rule set quality and update frequency — stale rules can send sites that should be proxied straight out instead.

Global Mode

Proxy Modes

All connections are routed through the GLOBAL group, bypassing the rule list entirely. Useful for troubleshooting routing issues or temporarily forcing everything through the proxy. Leaving it on long-term routes local sites abroad too, slowing them down.

Direct Mode

Proxy Modes

All connections go out directly, effectively pausing the proxy. Useful as a baseline test: visit the same site once direct and once proxied to isolate which link is causing the problem.

Fake-IP

Proxy Modes

A DNS response strategy under Enhanced Mode. Domains matching proxy rules get a fake address from a reserved IP range instead of a real DNS lookup, speeding up connection setup. A few apps that strictly validate addresses need to be added to the fake-ip-filter exclusion list.

TUN Mode

Proxy Modes

A mode that takes over system-wide traffic through a virtual network adapter, independent of system proxy settings. It covers apps that ignore the system proxy as well as UDP traffic, but needs admin or root privileges to install the adapter. Running it alongside another VPN app causes routing conflicts.

C-05 / NETWORK · 5 terms

Networking Basics

The underlying terms you need to make sense of the client UI, speed tests, and troubleshooting hints. Nail down the definitions first, then move on to tuning.

Node

Networking Basics

The combined term for a proxy server available for forwarding and its connection parameters. Each entry in a subscription is one node. The same server can show up as multiple nodes if it offers different protocols or ports.

Latency

Networking Basics

The round-trip time from client to node, measured in milliseconds. Client speed tests usually measure TCP or HTTP handshake time, not actual download speed. The number is only useful for comparing nodes against each other, and minor fluctuations are normal.

Rule-Based Routing

Networking Basics

A policy system that routes traffic to different exits based on domain, IP range, process name, and similar criteria. Rules are matched top to bottom, stopping at the first hit — wrong ordering is a common reason routing doesn't behave as expected. When troubleshooting, check which rule a connection actually matched first.

GeoIP

Networking Basics

An offline database mapping IP addresses to country and region codes, which entries like GEOIP,CN rely on. The database is updated periodically alongside the client; letting it go stale can cause the occasional routing misjudgment.

DNS Leak

Networking Basics

A situation where the system's domain resolution requests bypass the proxy and go straight to the ISP's DNS, letting your local network observe your browsing. Enabling Fake-IP, or pointing nameserver at a resolution path that goes through the proxy, prevents this.

C-06 / MOBILE · 4 terms

Mobile-Specific

Mechanisms and limitations that only show up on Android / iOS. Desktop clients have no equivalent concepts — check this section first when troubleshooting a mobile issue.

VpnService

Mobile-Specific

A VPN interface Android exposes to proxy apps. Clients use it to establish a local tunnel and take over traffic, which is when the key icon appears in the status bar. The system only allows one app to hold this interface at a time, so two proxy apps can't run simultaneously.

Per-App Proxy

Mobile-Specific

The ability for Android clients to choose apps by package name for routing through the VPN tunnel, leaving everything outside the list unaffected. Commonly used to keep banking and payment apps on a direct connection to avoid triggering risk checks.

On-Demand Connection

Mobile-Specific

iOS's on-demand network activation mechanism. The system automatically triggers the VPN when a matching network request is detected, and disconnects automatically when idle. Rules are managed in the client's settings or the system VPN configuration, with no need to toggle it manually.

Background Persistence

Mobile-Specific

The general term for keeping the proxy process alive against system cleanup on mobile. Android relies on foreground services and battery optimization exemptions; iOS is managed by the system VPN framework. A process getting killed shows up as the proxy silently dropping and the status bar icon disappearing.

NEXT / Keep Reading

Beyond Definitions: Hands-On Setup

The glossary only answers what something is. For step-by-step setup and protocol comparisons, head to the pages below.

Setup Guides

The full workflow for importing a subscription, choosing a mode, and verifying your connection, broken down by platform so you can follow along for first-time setup.

View Setup Guides

Protocol Deep Dive

How each proxy protocol came about and the trade-offs behind its design, plus speed and resource comparisons and recommendations by use case.

View Protocol Deep Dive

Download Clients

Client listings for Windows, macOS, Linux, Android, and iOS, including system requirements and core details.

Go to Download Page