Technical Index Glossary

Clash Glossary

Look up terms by configuration layer, from subscription imports and rule-based routing to the Windows 11 system proxy. Entries retain English interface labels and YAML fields for easy reference when checking the client or troubleshooting errors.

Core & Protocols

Tell apart the core that routes traffic, the file that defines the configuration, and the protocol used to connect to a server.

mihomo

mihomo is a proxy core developed from Clash.Meta. It listens for connections, matches rules, and establishes outbound connections. Clients with similar interfaces may use different cores, so before migrating, check whether the target client supports the protocols and fields in your configuration.

Original Clash Core

The original Clash core was an early program in the Clash ecosystem for proxying traffic and matching rules. It is separate from Clash for Windows, the graphical client. Clash for Windows is no longer maintained; its archived final release is useful for reference when checking the old interface. If an older version cannot load a configuration, check core compatibility first.

YAML

YAML is the text format used for Clash configurations. Indentation with spaces defines nesting, and hyphens mark list items. Readable syntax does not guarantee a working configuration: if a file parses but cannot be enabled, check whether the current core supports its fields and whether the policy groups referenced by its rules exist.

Proxy Protocol

A proxy protocol defines how a client connects to a proxy server and transfers data, as with Shadowsocks or Trojan. The rule mode determines which outbound route a connection uses; the protocol determines how the selected proxy communicates with its server. Changing modes does not change a node's protocol.

Proxy Modes & Rules

Once traffic enters the core, check the mode first, then whether rules determine its outbound route.

Rule-Based Routing

Rule-based routing directs connections entering the core to a direct connection, a rejection, or a specified policy group based on conditions such as the domain or destination IP. Standard rules are checked in order, and matching usually stops at the first hit. Place catch-all rules such as MATCH after specific rules that need priority.

Rule / Global / Direct

Rule mode selects an outbound route based on rules, Global sends traffic entering the core through the global policy, and Direct sends those connections straight out. The mode controls how the core handles traffic it receives; it does not determine whether an app's traffic reaches the core in the first place. That depends on the traffic entry point, such as an app's proxy settings, the system proxy, or TUN.

GeoIP

GeoIP uses a database to identify the country or region associated with an IP address, and GEOIP rules use that data to match destination addresses. They evaluate the IP used by the connection, not the website's language or the operator's location. The same domain behind a CDN may resolve to IPs in different regions, changing the rule match.

Rule Provider

Rule providers keep rule sets separate from the main configuration. They can reference local files or update remote files according to configured settings. rule-providers declares where rules come from; RULE-SET references them in the routing rules. Declaring a provider without referencing it does not affect where connections go.

Policy Groups & Subscriptions

Subscriptions provide configurations, configurations define available routes, and policy groups choose which route to use.

Subscription

A subscription lets a client fetch a node list or complete configuration from a specified URL. The URL and the content it returns are not the same thing. If an import fails, first determine whether the URL is unreachable or the client cannot parse the returned format. Some URLs contain access credentials, so avoid sharing them in public screenshots or forums.

Node

A node is a proxy connection entry in a configuration, typically containing a server address, port, protocol, and its required parameters. The name shown in the interface is just a label, not proof of the route's quality. If two entries use the same server, the same outage may affect both.

Policy Group

A policy group bundles nodes, other policy groups, or options such as direct connection into an outbound route that rules can reference. Selecting a node is not the same as selecting a group: a manually selected group keeps its current choice, while an automatic test group adjusts its outbound route based on test results and configured conditions.

Latency

The node latency shown by a client is usually the response time measured when accessing a specific test URL through that node. It may differ from the system ping result. It does not indicate download bandwidth or guarantee that other sites are reachable. For meaningful comparisons, use the same test URL and network conditions.

DNS & Network Stack

Domain lookups and app connections may take different routes, so troubleshoot them separately.

DNS

DNS resolves domain names to addresses that apps can connect to. The core may also use DNS results to evaluate IP-based rules. If a site will not load, first determine whether the domain resolved incorrectly or the connection timed out after resolving. These happen at different stages and may not be fixed by switching nodes.

Fake-IP

Fake-IP mode returns a placeholder address managed by the core to an app. When the core later handles the connection, it uses the mapping to recover the original domain for routing. This is not the website's actual IP address; local network discovery or certain apps that rely on real addresses may need to be excluded.

DNS Leak

A DNS leak occurs when domain queries bypass the intended resolution path and go to a resolver you did not intend to use. Routing web connections through a proxy does not mean DNS queries take the same route. When troubleshooting, check system DNS, the browser's Secure DNS setting, and the resolver actually used by the client separately.

TUN Mode

TUN mode uses a virtual network interface and routing settings to capture selected IP traffic. It can help with apps that do not use the system proxy. The captured traffic depends on the routes and exclusions configured. If local network devices become unreachable after enabling TUN, check where local subnet traffic is routed before switching proxy nodes.

Windows Integration

Check separately whether the client is running, the local port is listening, and the app is sending traffic to the client.

System Proxy

System Proxy points the Windows system proxy to the client's local listening address. Apps that honor this setting can send traffic to the core through the local port. An app's own proxy settings may override the system setting. If the network stops working after you exit the client, check whether Windows still points to a port that is no longer listening.

Mixed Port (mixed-port)

mixed-port lets a single local listening port accept both HTTP and SOCKS proxy connections. It is not the port used by a remote node. If the port is already in use and you switch to a new one, make sure the Windows system proxy and any manually configured apps are not still using the old port.

Service Mode

In Clash for Windows, Service Mode installs and manages system services that require additional permissions. The legacy TUN feature may depend on it. Having the service installed does not mean TUN is enabled; check the service status, TUN setting, and actual routes separately when troubleshooting.

Start with Windows

Start with Windows controls whether the client launches when Windows starts, usually after the user signs in. Seeing the client in the system tray does not mean a valid configuration is loaded or that it is handling network traffic. To troubleshoot startup, first confirm the client is running, then check whether the system proxy or TUN is enabled as expected.

Configuration Guides