Clash can feel like several tools at once: a desktop or mobile app, a subscription URL, a list of nodes, and a set of routing rules. These terms describe different parts of the same traffic path, not interchangeable names for one feature. A client provides controls, a proxy core processes connections, configuration data describes available exits and routing behavior, and a subscription service may supply or update that data.
Understanding the boundaries makes setup easier to diagnose. If a subscription imports but a proxy group is empty, that is different from a node that cannot connect. If a node works but a particular website still connects directly, the likely issue is the routing rule or the application’s proxy path. This guide explains each part, shows how they fit together, and gives you a practical first-setup checklist.
Clash Beginner Guide: Clients, Subscriptions, Nodes Explained
Separate the client, core, and configuration
A Clash client is the application you interact with. It may import configuration, show available proxies, switch groups, set the operating system’s proxy, start a TUN interface, and display connection logs. The proxy core is the engine that reads the configuration and handles connections. The configuration is the set of instructions and data the core uses.
These pieces may arrive in one installer, but they are still separate in function. For example, a graphical client can start a Mihomo core, while another client may bundle a different compatible core. The client name alone does not tell you every protocol or configuration field that the running core supports. If a setting is rejected or ignored, check the kernel name and version shown in the client’s About page, core settings, or startup log.
| Term | What it does | Where to check it |
|---|---|---|
| Client | Provides the interface, configuration controls, system integration, and logs. | Application settings, system proxy switch, kernel settings. |
| Core | Opens local proxy listeners, processes rules, resolves or handles DNS, and connects to proxies. | Core version, runtime status, startup and connection logs. |
| Configuration | Defines ports, proxy entries, groups, DNS options, and routing rules. | Imported profile, generated YAML, or supported override settings. |
| Subscription | Provides a URL or other update mechanism for obtaining configuration data. | Subscription or profile management in the client. |
Clash’s familiar YAML model uses sections such as proxies, proxy-groups, and rules. A core parses these sections; the GUI helps you manage them but does not replace them. Mihomo, which developed from the Clash.Meta project, retains much of this configuration model and supports additional features. Compatibility still depends on the exact core version and the configuration fields in use.
Choose a client for your operating system, maintenance status, and required features—not just because its name contains “Clash.” Check whether it supports the core you need, whether it can update profiles, and whether it offers the traffic controls you actually plan to use. A basic desktop setup may only need system proxy support. TUN, LAN sharing, custom DNS, or advanced rule providers add configuration and permission requirements.
Understand subscriptions, nodes, and proxy groups
A subscription is usually a provider-controlled URL or profile entry that lets a client retrieve configuration data. It may deliver proxy nodes, group definitions, rules, or a complete configuration, depending on the service. The URL is an update source, not a proxy node and not a guarantee that the returned configuration is compatible with every core.
A proxy node is one connection endpoint described by fields such as its name, server address, port, protocol, and authentication details. A node is a possible way to reach a destination. It is not necessarily the route chosen for every connection, because rules generally select a policy or group first.
A proxy group organizes nodes or other groups into a choice that rules can reference. A manual selection group lets you choose an entry. A URL-test group can periodically test members and select according to its configured behavior. A fallback group can use another member when its current choice is unavailable. Group types and options vary by core, so inspect the actual configuration rather than assuming every client presents the same controls.
Subscription
A URL or profile mechanism for retrieving configuration data. Treat it as sensitive account information if it contains access credentials.
Proxy node
A single configured proxy destination, with its protocol and connection parameters.
Proxy group
A named collection or policy that can present choices to you or select among configured members.
Routing rule
A condition that directs a connection to a group, a direct connection, or another supported action.
For example, a subscription may provide several nodes and a group called Proxy. A rule may direct a particular domain to that group. The group then selects one node. If the node is reachable but the domain is assigned to DIRECT by an earlier rule, changing nodes will not change that connection’s route.
Do not assume that a profile’s displayed name is the subscription itself. Renaming a profile in a client usually changes only its local label. Keep the original update URL in a secure place if you may need to restore the profile, but avoid posting it in screenshots, support forums, or public logs. A subscription URL can function like a credential, and a provider may need to revoke or replace it if it is exposed.
Follow the traffic path from application to destination
For a typical desktop connection, an application first needs to send traffic to Clash. With system proxy enabled, applications that honor the operating system’s proxy settings can connect to a local HTTP, SOCKS, or mixed port. A client’s TUN mode creates a virtual network interface and can capture more traffic, including traffic from applications that do not use system proxy settings. TUN requires operating-system support and permissions; it is not simply another name for the system proxy switch.
Once traffic reaches the core, the core evaluates the connection against the active configuration. Depending on the request, DNS handling and domain information can affect which rule matches. Rules are normally evaluated in order, and the first matching rule determines the policy. The selected group then chooses a node, or the rule may request a direct or reject action. Finally, the core attempts to establish the connection using that decision.
Application
→ system proxy or TUN
→ local Clash listener or virtual interface
→ DNS handling and rule matching
→ proxy group or direct action
→ selected node or destination
This sequence gives you a useful way to locate a failure instead of randomly switching settings. If no connection appears in the Clash log, check how the application enters the proxy. If a connection appears but uses an unexpected policy, inspect the matched rule and group. If the intended group is selected but the connection fails, check the selected node, provider status, and core log.
Local port numbers vary by client and configuration. A common example is mixed-port: 7890, which accepts HTTP and SOCKS proxy requests on one port, but an installed client may use a different value or manage the port internally. Confirm the active listener in the client or runtime configuration. A port written in YAML is not proof that the core started successfully or that another program has not occupied it.
Routing rules are not the same as node health checks. A node can pass a latency test while a destination still fails because the rule sends it elsewhere, the application bypasses the client, DNS resolves differently than expected, or the destination is unavailable. Read the connection log as a record of the actual matched rule and selected policy rather than using a single speed test as proof that all traffic is routed correctly.
Make a first setup with a short verification checklist
For a first setup, keep the number of moving parts small. Install a maintained client that supports your platform, import a configuration from a provider you trust, select one group and one node, and verify one application at a time. Avoid editing a subscription-generated YAML file until you understand whether the client will overwrite those changes on its next update.
- Choose the client. Confirm that the download is intended for your operating system and processor architecture. Check the project’s maintenance status and the core it uses. If you need a feature such as TUN, verify that the client supports it on your platform.
- Import the profile. Use the client’s subscription or profile screen and enter the provider’s URL only in the intended field. Wait for the update to complete. If importing fails, check the exact error and whether the provider offers a configuration format compatible with the running core.
- Confirm that proxies and groups appear. Open the proxy or group page. A successful update should produce the entries expected from the profile. If a group is empty, inspect the update result and configuration references before testing the system proxy.
- Select one available route. Choose a group, then select a node if the group requires manual selection. If the group performs automatic testing, allow the test to finish and check which member it chose. Do not equate a low latency result with guaranteed access to every destination.
- Enable a simple traffic path. Turn on the client’s system proxy for the first test. Keep LAN access disabled unless you specifically need other devices to connect through this computer. Record the active local port if you plan to configure an application manually.
- Test and inspect. Open a new page or make a fresh request, then look for it in the client’s connection list. Check the destination, matched rule, group, and selected node. If the request is absent, test whether that application honors the system proxy before changing the node.
- Save changes in the supported place. If you need custom rules or DNS changes, use the client’s override, merge, or profile-editing feature when available. Keep a backup of the original profile and verify that an update does not erase your customization.
A simple configuration fragment can help illustrate the relationships, but it is not a complete importable profile and should not be pasted over a provider’s working configuration:
mixed-port: 7890
allow-lan: false
mode: rule
proxies:
- name: "Example node"
# Provider-specific connection fields go here.
proxy-groups:
- name: "Proxy"
type: select
proxies:
- "Example node"
- DIRECT
rules:
- DOMAIN-SUFFIX,example.com,Proxy
- MATCH,DIRECT
In this example, the rule for example.com refers to the group named Proxy, and the group refers to the node named Example node. The names must match exactly. Real node entries require protocol-specific fields, and a subscription may supply those fields automatically. The final MATCH rule handles connections that did not match an earlier rule; placing a broad rule above a more specific one can prevent the specific rule from ever being reached.
Choose what to troubleshoot first
When a setup does not behave as expected, use the symptom to select the layer to inspect. This saves time and reduces the risk of making unrelated changes to DNS, TUN, and rules all at once.
| Symptom | Check first | Useful next step |
|---|---|---|
| Profile update fails | Subscription URL, network access, provider status, and update error. | Retry the update and confirm the provider’s expected profile format. |
| No nodes or empty groups | Whether the configuration loaded and group references point to existing proxy names. | Review the import result and core startup log for parsing or reference errors. |
| Client says connected, but an app is unchanged | Whether that app uses the system proxy or is captured by TUN. | Check the connection list while making a new request from that app. |
| Request uses the wrong route | The matched rule and selected proxy group. | Review rule order, rule conditions, and the group’s current selection. |
| Connection appears but fails | Selected node, core log, DNS result, and destination availability. | Test a different node within the same intended group and compare logs. |
Make one change at a time and repeat the same test. For example, first confirm that a request appears in the log, then change the group selection if needed. Changing the client, core, DNS mode, rules, and TUN state simultaneously makes the result difficult to interpret. Keep a copy of a known-working configuration before experimenting, and remember that a subscription update may replace provider-managed data.
Once the basic path is clear, you can decide whether you need more advanced features. Rule providers can help manage larger rule sets; custom DNS settings can affect name resolution; TUN can capture traffic beyond applications that respect system proxy settings. Each adds its own compatibility and troubleshooting considerations, so introduce them only when a concrete requirement calls for them.
For platform-specific client choices and setup steps, use the download page and setup guide. The essential model remains the same: the client starts and controls the core, the subscription supplies configuration data, nodes provide possible exits, groups organize those exits, and rules decide which policy a connection follows.