MIHOMO / CONFIGURATION REFERENCE
Clash Meta Glossary
Use this glossary alongside the client interface and YAML configuration. If a configuration fails to load, start with “Subscriptions and Configuration Files.” If the app opens but traffic takes an unexpected route, first check how it is captured under “Systems and Platforms,” then review the rules and DNS settings.
- 6 categories
- 24 terms
Core and Clients
First distinguish the core that runs the configuration, the interface that manages it, and the outbound a connection actually uses.
- mihomo Core
- mihomo is an open-source proxy core descended from Clash.Meta. It parses configurations, matches rules, handles DNS, and establishes connections. To check whether a rule type or configuration field is supported, verify the version of the core actually running—not just the client's update date. When troubleshooting compatibility, start by checking the core version in the client or its startup logs.
- Graphical Client (GUI)
- Graphical clients provide interfaces for importing configurations, selecting policies, viewing logs, and integrating with the system. They may bundle the mihomo core or manage a separate core process. The same core feature may have different button names, menu locations, or default settings across clients. If the interface settings differ from an imported file, check whether the client merges overrides into the active configuration.
- Proxy Node
- A node is a configuration for connecting to a proxy server. It typically includes the server address, port, protocol, and authentication details. In YAML, manually defined nodes are usually listed under
proxies. A node name is only used for display and references; renaming it does not change the server address. However, any proxy groups that reference the name manually must also be updated.
- Proxy Group (proxy-groups)
- A proxy group combines nodes, other groups, or built-in policies into an outbound that rules can reference. A manual selection group uses the member chosen by the user, while an automatic testing group selects a member based on test results and its configuration. The group name shown in connection logs may not be the name of the final node, so expand the group to see which member was actually selected.
Proxy Protocols
The node type determines how the two ends establish a connection. You can't use the same address and port with a different protocol without changing the configuration.
- Shadowsocks(SS)
- Shadowsocks is an encrypted proxy protocol. In mihomo node configurations, it uses the type
ss. The server port, encryption method, and authentication details must match the server settings. If importing succeeds but every test fails, first check whether the core supports the encryption method, then verify the node fields. Don't rely on the node name alone to identify its version.
- Trojan
- Trojan is a TLS-based proxy protocol. In mihomo node configurations, it uses the type
trojan. A reachable server address does not guarantee that the TLS handshake or subsequent authentication will succeed. If the logs report a certificate name mismatch, check the expected server name. If they indicate that the certificate is not yet valid or has expired, check the device's date and time as well.
- VLESS
- VLESS is a proxy protocol that commonly uses a UUID for identification, with transport options and security configured separately. Two nodes labeled VLESS may use different transport methods, so you can't reuse all the settings by changing only the address. After importing, compare the transport settings with those provided by the server. For WebSocket, check the path and related fields too.
- Hysteria 2
- Hysteria 2 is a QUIC-based proxy protocol that relies on UDP. In mihomo, it uses the type
hysteria2. If the same node fails only on one network, check UDP reachability on that network separately from the server's status. Being able to browse ordinary websites does not mean UDP traffic can reach the node's port.
Rules and Routing
To check an outbound, trace the matched rule in the connection log back to the configuration instead of looking only at the proxy group name.
- Rule-Based Routing (Rule Mode)
- Rule-based routing selects an outbound based on connection attributes such as the domain or destination address, rather than routing every connection through the same policy. mihomo checks rules in
rulesin order and applies the policy from the first matching rule. Put specific exceptions before broader rules so they aren't handled before the exceptions are checked.
- RULE-SET
RULE-SETreferences a rule-set provider in theruleslist and assigns a policy to matching traffic. For example,RULE-SET,local-domains,DIRECTsends traffic directly when it matches the defined rule set namedlocal-domains. Defining a provider only specifies where the rule set comes from; this reference determines where it takes part in routing.
- GEOIP
GEOIPuses geographic IP data to determine whether a destination IP belongs to a specified category. For example,GEOIP,CN,DIRECTmatches IPs classified as China in the data file; it does not check domain suffixes. Addingno-resolveprevents the rule from resolving a domain that has no destination IP yet in order to attempt a match.
- MATCH
MATCHis a rule with no matching conditions. It catches all connections that did not match an earlier rule.MATCH,PROXYsends the remaining traffic to the configured policy namedPROXY. It usually belongs at the end; if placed earlier, rules that follow it will never be checked.
DNS and the Network Stack
Which resolver handles a query, which address it returns, and which outbound the connection uses are three separate things.
- DNS Upstream
- A DNS upstream is a service that receives queries from the core and returns resolved results. When core DNS is enabled, you can specify standard upstreams under
dns.nameserver; some domains can also use a separate resolution policy. If a lookup times out, check separately whether the app's query reached the core and whether the core can connect to the selected upstream.
- Fake-IP
- Fake-IP is a DNS enhancement mode: the core can return a synthetic address first, then use its mapping to recover the domain for connection matching. Receiving a synthetic address does not mean DNS resolution failed, and the address is not the website's real IP. If an app that depends on real addresses or a local network service has compatibility issues, check whether the domain needs to be added to
fake-ip-filter.
- DNS Leak
- A DNS leak occurs when queries that should follow a specified policy are sent to an unintended resolver. A common example is when website traffic goes through a proxy, but the browser's separate DNS settings send queries another way. Check the browser's Secure DNS settings, system DNS settings, and the scope of traffic captured by the core. The website's exit IP alone can't confirm how DNS queries were handled.
- DNS Resolution Policy (nameserver-policy)
nameserver-policylets you choose a DNS upstream for matching domains. This differs from routing rules, which determine the connection's outbound. For example, you can route specific internal domains to an internal resolver that can answer for that zone. After confirming the resolution result, check separately whether the connection can reach the returned address.
Subscriptions and Configuration Files
A link retrieves content; whether it provides a full configuration or just a node list determines how to import it.
- Subscription
- A subscription is typically a URL that periodically provides a configuration or list of nodes. The client requests its contents when you import or refresh it. A full configuration may include nodes, proxy groups, and routing rules; a node-only list needs the client or main configuration to supply the rest. Subscription URLs may contain access credentials, so redact the full URL and its query parameters before sharing an error report.
- YAML
- YAML is a text format that uses indentation for structure and lists and key-value pairs to organize configuration. Use spaces for indentation and keep keys and list items at the same level aligned. Passing syntax validation does not guarantee that every field is valid. If the client still fails to load the configuration, check the field hierarchy, value types, and core support.
- Proxy Providers (proxy-providers)
- Proxy providers keep node lists separate from the main configuration and can load them from a file or update them from a remote URL. A proxy group can use
useto reference a defined provider and include its nodes as candidates. If a successful update still doesn't show the nodes, check the provider name referenced by the group and any filters instead of repeatedly importing the main configuration.
- Rule-Set Providers (rule-providers)
- A rule-set provider defines the name, source, and parsing method for an external rule set. The
behaviorin the configuration determines whether its contents are interpreted as domain names, IP ranges, or classic rules, and should match the rule set's format. If a rule set downloads successfully but has no effect on connections, check that the RULE-SET reference exists and hasn't been overridden by an earlier rule.
Systems and Platforms
First check whether the app's traffic reaches the client; then investigate latency, rules, or the remote connection.
- TUN Mode
- TUN mode receives IP traffic routed by the system through a virtual network interface, then lets the core apply policies. It can capture traffic from some apps that don't read system proxy settings, but coverage still depends on routing, excluded interfaces, and platform permissions. After enabling it in a supported client, check the connection log to confirm whether the target app's traffic reaches the core.
- System Proxy
- A system proxy specifies an application-layer proxy address, such as an HTTP proxy. Whether an app uses it depends on whether the app reads the system settings. Some apps use their own proxy settings, so a working browser doesn't mean other software is configured to use the proxy. If the system still points to the client's local port after the core stops, apps that follow that setting may lose connectivity.
- Android VpnService
- VpnService is an Android system API that lets a client create a virtual network interface after the user grants permission. The VPN indicator means the service is running, but it doesn't confirm that every app is included. Check the allow and exclude lists for per-app proxying too. If the connection drops after the screen locks, also check background activity and battery restrictions.
- Node Latency
- The latency shown for a node is usually the time it takes to access a test URL through that node. It may include the time needed to establish a connection and receive a response from the test server. It is not the same as ICMP round-trip time and doesn't indicate download bandwidth. Compare nodes using the same test URL, and consider repeated measurements alongside real-world results.