Glossary / GLOSSARY
Clash Glossary
Browse terms found in client interfaces, connection logs, and configuration files. Start by checking how traffic reaches the core, then distinguish DNS resolution, rule matching, and outbound selection.
Core and Clients
The client handles user interaction; the core processes connections. Subscriptions provide configurations or proxy lists.
- mihomo
- mihomo is the proxy core that parses configuration, matches routing rules, and establishes outbound connections. The client version and core version are separate. Different releases of the same interface may bundle different core versions. If a field is unsupported, first check which core version is running, then consult the documentation for that version.
- GUI Client
- A GUI client provides an interface for importing configurations, switching modes, and viewing logs. Enabling the system proxy is usually an action the client performs through the operating system, while the core handles rule matching. Different interfaces may use similar core configurations, but menu labels and local configuration management can vary.
- Subscription
- A subscription provides updates to a configuration file or proxy list through a URL. A full configuration may include nodes, proxy groups, and rules; a proxy list needs to be referenced by an existing configuration. A successful update only means the content was retrieved, not that every node is reachable. Remove the full subscription URL before sharing logs.
- Proxy Node
- A proxy node is an outbound entry in a configuration, usually containing a server address, port, and protocol settings. Two nodes can point to the same server while using different ports or transport settings. The node name shown in the interface is just a configuration label; it does not, by itself, reveal the route's actual location.
Traffic Capture
First identify which entry point brings a connection into the core, then check its resolution and routing results.
- TUN Mode
- TUN mode receives IP traffic routed through the virtual network interface for capture. It does not rely on applications actively reading the system proxy settings, but the traffic it captures still depends on routes, exclusions, and platform permissions. Traffic entering the virtual interface is not necessarily forwarded through a proxy; the core may still route it directly based on the rules.
- System Proxy
- A system proxy is a proxy setting exposed by the operating system to applications. Apps that honor the setting send relevant requests to the specified proxy port; others may continue using their usual connection path. If a browser connects but another app does not appear in the connection log, first check whether that app uses the system proxy.
- Mixed Port
- The mixed port is set with
mixed-portand accepts both HTTP proxy and SOCKS5 requests on the same local port. To set an app's proxy manually, choose the matching proxy protocol and point it to that port. This is distinct fromtun.stack: mixed, whose similar name refers to the TUN network stack.
DNS and Resolution
Check who receives the query, who answers it, and which outbound the resulting connection uses.
- Fake-IP
- Fake-IP is a DNS enhancement mode in which the core can respond to domain lookups with temporary mapped addresses. If the subsequent connection also reaches the core, it can use the mapped address to recover the original domain and match domain rules. The mapped address is not the destination server's real address; assess compatibility separately for apps that require real IPs.
- DNS Leak
- A DNS leak occurs when domain lookups take an unexpected resolution path, potentially exposing queried domain names to an unintended resolver. Routing application traffic through a proxy does not mean DNS follows the same path. To investigate, compare the configured upstream with the expected one, check whether the app uses its own encrypted DNS, and account for the system DNS cache.
- DNS Hijacking
- In mihomo TUN configuration, DNS hijacking routes matching DNS requests to the core's DNS module.
tun.dns-hijackdefines which requests to capture; it does not choose the upstream resolver. An entry matching a standard DNS port will not automatically capture DoH queries that an app sends over HTTPS.
- DNS Resolution Policy
nameserver-policyassigns upstream DNS servers to queries that match specified conditions. For example, you can route certain domains to an upstream capable of resolving them, while other queries use the default DNS configuration. This setting selects the resolver; to find which outbound a connection uses, check the routing rules.
Proxy Protocols
Local listener protocols and remote node protocols are separate settings; check each layer independently when troubleshooting.
- SOCKS5
- SOCKS5 is a general-purpose proxy protocol that can relay TCP connections. It can also relay UDP when both the client and server support it. Depending on the app's settings, it can pass a domain name to the proxy or resolve it locally and pass an IP address instead. SOCKS5 does not encrypt connections, so it should not be confused with encrypted transport.
- Shadowsocks
- Shadowsocks is an encrypted proxy protocol. In mihomo node configuration, it is specified with
type: ss. The encryption method and authentication parameters must match on the client and server. If additional transport options are enabled, check those settings on both ends as well. A configuration loading successfully only confirms that its syntax is valid; it does not mean the protocol parameters match.
- Hysteria 2
- Hysteria 2 is a QUIC-based proxy protocol. In mihomo node configuration, it is specified with
type: hysteria2. Its underlying transport uses UDP, so being able to establish TCP connections on the current network does not prove the node is reachable. If the same configuration behaves differently on another network, check UDP reachability and protocol settings separately.
Rules and Proxy Groups
Check which rule matched first, then check which outbound the proxy group had selected. The connection log answers different questions for each.
- Rule-Based Routing
- In Rule mode, connections are checked against
rulesin declaration order, and the outbound or proxy group specified by the first matching rule is used. Put specific exceptions before broader rules to prevent them from being matched too early.MATCHmatches all remaining connections and is usually placed last.
- GeoIP
- GeoIP data classifies IP addresses by region and other categories, and can be used in rules to match destination IPs. It does not match domain suffixes, and results may change when the same domain resolves to different addresses. When troubleshooting GeoIP rules, check both the destination address used by the connection and the data currently loaded.
- Proxy Group
- A proxy group organizes multiple outbound options under a name that rules can reference. A
selectgroup lets the user choose an outbound, while aurl-testgroup selects one based on test results. Changing the group's options does not rewrite the rules: they still point to the same group, but that group may use a different outbound for new connections.
- Latency Test
- The node latency shown by a client usually reflects how long it takes to reach a test URL through that outbound. It is not a download speed or the round-trip time to a game server. For a fair comparison, use the same test URL and network conditions where possible; a single timeout may simply mean the test target is unreachable.
Configuration Structure
When checking where a field belongs, use the configuration actually loaded by the core, not just the original subscription content.
- YAML
- YAML is a data format that uses indentation to represent hierarchy. mihomo uses it to structure configuration fields. Mapping entries use keys and values; block sequences commonly use hyphens to introduce items, such as a matching rule under
rules. If syntax validation passes but a setting has no effect, check that the field is at the level required by the core.
- Rule Provider
- A rule provider defines a separate rule set under
rule-providers, which can then be referenced in the main rules list withRULE-SET. Defining a rule set alone does not select an outbound for a connection; the rule that references it specifies the outbound. Its position in the main list still determines its matching priority.
- Configuration Override
- A configuration override adds or replaces fields in the base configuration to produce the final configuration passed to the core. Different clients may append to lists, prepend items, or replace an entire section; do not assume they all merge configurations the same way. After applying overrides, check the active configuration to confirm rule order, especially the final catch-all rule.