Glossary · Client UI / config.yaml

Clash Glossary

Importing a subscription doesn't mean its configuration is active, and seeing node test results doesn't mean app traffic is using the proxy. Choose a category to see which layer a term refers to, then find the setting in the UI or configuration file.

Subscriptions & profiles

Know the difference between the URL you receive, the profile saved by the client, and the configuration actually read by the core.

Subscription link

A subscription link is a URL a client uses to download a configuration or proxy node list. First, check that the provider offers a subscription format your client supports. Then import the URL from the Config page. After import, select the profile in the list to activate it. Link parameters may contain access credentials, so hide the full URL before sharing screenshots or logs.

Configuration profile (Profile)

A Profile is a configuration managed by the client. It can come from a remote subscription or a local file. You can keep multiple profiles in the list, but only the active one—or a merged configuration generated from it—is in effect. Remote updates may replace the original content, so use a client-supported override layer for changes you want to keep.

YAML

YAML is a common text format for Clash configurations. Indentation shows how fields are nested. Use spaces, not tabs, and keep fields at the same level aligned. A successful YAML parse only means the text structure is valid. For errors such as a proxy group referencing a missing node, check the core's error messages.

Proxy provider (proxy-providers)

proxy-providers defines a set of nodes as a data source that can be loaded and updated separately. Proxy groups can reference it with use. This is useful for keeping frequently updated nodes separate from rules you maintain yourself. The remote provider's interval is measured in seconds; it is not the client's update interval for the entire profile.

Proxy protocols

To identify a node's protocol, check the type field, not its display name.

Node

A node is a proxy connection entry, usually listed under proxies in YAML or loaded by a proxy provider. It typically includes a display name, protocol type, server address, port, and authentication parameters. Changing the display name won't change the connection address, but update any rules or proxy groups that still reference the old name.

Shadowsocks(SS)

Shadowsocks is an encrypted proxy protocol, commonly written as type: ss in a node configuration. The client's encryption method (cipher) and authentication parameters must match the server. Reaching the server port doesn't mean protocol negotiation succeeded. If the handshake fails after import, check the provider's parameters and the core's supported options.

Trojan

Trojan is a proxy protocol that establishes an encrypted connection over TLS. Its node type is trojan. If the logs report a certificate name mismatch, check the server name in the node, sni, and the domain covered by the certificate. Don't treat skipping certificate verification as a fix; use settings that match the server instead.

Hysteria2

Hysteria2 is a QUIC-based proxy protocol that uses UDP. Being able to open a webpage over TCP doesn't mean the UDP route is working too. If the same configuration works on mobile data but keeps timing out on a particular Wi-Fi network, check the logs and whether that network allows the required UDP traffic.

Proxy groups & routing rules

First check which rule matched the connection, then see which member the corresponding proxy group selected.

Proxy group

A proxy group is defined under proxy-groups and selects an outbound connection from a set of candidates. A select group lets the user choose; a url-test group evaluates candidates against its configured test URL. When a rule points to a group name, the connection uses the member selected by that group—not a server named after the group.

Rule-based routing

In Rule mode, routing rules choose an outbound connection based on conditions such as the domain or destination IP. The core checks rules in order and uses the first match, so put specific exceptions before broader rules. MATCH has no additional conditions and is typically used as the catch-all at the end.

GeoIP

GeoIP uses an IP database to identify an address's location. GEOIP rules match IP addresses, not website domain suffixes. For example, GEOIP,CN,DIRECT selects a direct connection when the IP falls within a China range in the database. A domain can resolve to different addresses, so check the actual destination IP and matched rule when troubleshooting.

Latency

The node latency shown in a client is usually the time, in milliseconds, taken to reach a designated test URL through that node. It isn't the download speed or a guarantee that every website will take the same time to reach. Compare nodes using the same test URL and network. If they all time out, first check whether the test target is reachable; don't immediately assume every node is down.

DNS & network modes

DNS resolution answers “which address does this domain map to?” The traffic capture method determines “which connections go to the core?”

DNS

DNS resolves domain names to IP addresses. mihomo's dns section lets you configure resolution behavior and upstream servers. nameserver is a commonly used upstream list, but it only affects queries that are actually handled by the core. If changing it doesn't affect browser behavior, check whether the browser uses its own Secure DNS and whether old results are still cached.

Fake-IP

Fake IP mode can return a synthetic IP for a domain first. The core then maps it back to the domain and handles the connection. Enable it with dns.enhanced-mode: fake-ip; seeing a synthetic address doesn't by itself mean DNS is broken. If only certain local network services have compatibility issues, check whether their domains belong in fake-ip-filter before disabling the entire mode.

TUN mode

TUN mode uses a virtual network interface to send matching traffic routes to the core. It can capture traffic from apps that ignore system proxy settings. After turning it on, make sure the client has the required permissions and that the relevant routes are active. If another VPN is already running on the device, check whether the two would compete for the same routes before switching.

DNS leak

A DNS leak occurs when a query bypasses the expected resolution path and reaches a resolver that was not supposed to receive it. A website connection going through a proxy doesn't prove that the app's DNS queries are using the expected path too. To troubleshoot, first identify which resolver should handle the queries, then check browser Secure DNS, system DNS settings, and core logs. A different reported location alone isn't evidence of a leak.

Clients & cores

Check the UI version, core version, and system proxy status separately; don't treat one as proof of another.

mihomo

mihomo is an open-source proxy core used by many Clash clients. It reads configurations, matches rules, and forwards traffic. If a field isn't supported or a protocol isn't recognized, check the actual core version in the client's About page or logs first. The client's own version number isn't a substitute.

Clash Meta

Clash Meta was a previous project name used by mihomo. The name still appears in older guides and software settings. A guide's reference to the “Meta core” doesn't mean a client with the same name supports every field mentioned there. Before copying an old configuration, check the current core version and field locations, then migrate settings one by one.

GUI client

A GUI client provides controls for importing subscriptions, switching proxy groups, and viewing logs, while running the core in the background. Even clients using the same core may differ in button locations, configuration override options, and system permission prompts. If you can't find a button shown in a guide, look for the Config, Proxies, or Connections page by function.

System proxy

The system proxy setting adds the local proxy address to the operating system settings for apps that use it. If the setting is enabled but an app isn't using the proxy, check whether the app reads system settings or has its own proxy configured. After you turn off the system proxy, apps with a manually configured proxy address may still connect to the local proxy port.