About 10 minutes for the basic setup

Clash Quick Start: From Subscription Import to Connection Verification

Follow four steps for your first setup: import a subscription, choose a proxy mode, establish a connection, and verify the result. This guide focuses on the practical workflow; detailed coverage of configuration files, DNS, TUN, and platform differences is available in the configuration guide.

Jump to a step

Four-Step Setup Path

Follow the steps in order. Skipping subscription loading or policy-group selection often leaves the switch enabled while websites remain inaccessible.

  1. 01 Import a Subscription Get the configuration, policy groups, and node information into the client
  2. 02 Choose a Mode Define how traffic is handled by rules, globally, or directly
  3. 03 Connect Choose a policy and enable the system proxy or system VPN
  4. 04 Verify Confirm that your browser and target apps use the expected route
Preparation

Before You Begin

Prepare the Client and Subscription URL

Before you start, make sure a working Clash graphical client is installed and that you have obtained a subscription URL from your service provider. The client reads the configuration and forwards traffic; the subscription URL supplies nodes, policy groups, rules, DNS settings, and other configuration data. They are not the same thing. With only the client installed and no configuration imported, the proxy page is usually empty and no usable nodes are created automatically.

A subscription URL is usually a link beginning with HTTPS. Copy it from your service provider's control panel using the full-copy function to avoid missing trailing characters during manual selection. Do not post the URL in forums, screenshots, or shared documents: it may contain access parameters that identify your account. If the provider offers a general subscription, a Clash subscription, and individual node links, choose the one explicitly labeled Clash or compatible with Clash configuration.

For the first setup, temporarily disable other proxies, VPNs, accelerators, or older Clash clients that are controlling network traffic. Multiple system proxies, VPN profiles, or virtual network adapters can intercept traffic repeatedly, making the client appear connected while pages time out, some apps lose connectivity, or the outbound address stays unchanged. Exit conflicting software before starting to make troubleshooting more straightforward.

Before moving on, make sure you have:
  • A Clash client that starts normally;
  • A complete, accessible Clash subscription URL;
  • No other proxy or VPN tool currently occupying the connection.
01

Load the Configuration

Import a Subscription

After opening the client, look for a page named Subscription, Configuration, Profiles, or Configurations. Desktop clients usually place it in the left navigation, while mobile clients may put it in a configuration area on the home screen or in the top-right menu. Choose Add, Add Subscription, or Import from URL, then paste the complete subscription link into the address field. Use the provider name or a purpose such as Daily Configuration as the name so you can manage multiple configurations later.

After saving, choose Download, Update, or Sync. The client will request the subscription and parse its configuration file; a new configuration entry should appear when this finishes. Do not stop at confirming that the entry exists: make sure it is selected as the active configuration. Some clients enable imported configurations automatically, while others continue using the previous local configuration until you click its name, enable it, or choose Set as Active. The active configuration usually has a check mark, an accent border, or an enabled status.

Next, open the Proxy or Policy Groups page and check for nodes and policy groups. Providers often use custom policy-group names, so the interface may not resemble screenshots from other guides. If you can see several policy groups and, when expanded, options such as nodes, automatic selection, or direct connection, the configuration was parsed successfully. If the page is still empty, return to the configuration page and check the update result instead of enabling the system proxy immediately.

When a subscription update fails, first read the error category shown by the client. A timeout or unreachable-network message usually means the current network cannot access the subscription URL. A format, parse, or YAML error means the response is not a Clash configuration the client can read. An unauthorized message or unexpected status code means you should check with the provider whether the subscription has expired, been reset, or needs to be regenerated. Repeatedly clicking Update will not normally fix formatting or permission problems.

If the current network requires an existing proxy to reach the subscription, keep that working network available for the first download, then switch to the new configuration. Some clients offer an option to update subscriptions through a proxy, but its location and behavior vary considerably, so avoid changing it during the initial setup. To migrate a local YAML file, change the update interval, or merge multiple configurations, continue with the Preparation and Configuration section of the multi-platform configuration guide.

02

Choose How Traffic Is Routed

Choose a Proxy Mode

Once the configuration is loaded, open Settings, Proxy Mode, or the Mode section. Common choices include Rule, Global, and Direct modes. Rule mode is recommended for first-time use. It matches domains, IPs, application processes, or geographic rules from top to bottom, then sends traffic to the selected policy group, connects directly, or blocks it. This preserves the subscription's intended routing logic and is the most common choice for everyday use.

Global mode sends most interceptable traffic through a single proxy policy. It is useful for briefly checking whether a routing rule causes an access problem, but it should not be the default answer to every issue. If a destination fails in Rule mode but works in Global mode, inspect the matching rule or policy group instead of repeatedly changing clients. Direct mode bypasses the proxy and can quickly show whether the proxy path is causing the outage.

Mode Traffic Handling Best For
Rule Mode Choose proxy, direct, or other policies according to the configuration rules Everyday use and per-destination routing; recommended for initial setup
Global Mode Send interceptable traffic through one global policy Temporarily testing a node or ruling out a rule-matching issue
Direct Mode Connect traffic directly without using proxy nodes Restoring local networking or checking whether the proxy causes the problem

After selecting Rule mode, open the Proxy page and find the policy group handling the main proxy traffic. It may be named Proxy, Node Selection, Proxy, Manual Selection, or something custom from the provider. Expand the group and choose an available node. If the client offers a latency test, run it once if useful, but remember that latency only reflects the probe response and does not prove that every website or app will work. Actual access after connecting is still required.

For now, do not casually change the internals of groups such as Auto Select, Failover, or Load Balance. Subscription configurations often reference multiple policy groups, so an apparent automatic policy may depend on the status of a lower-level node group. The goal of the first setup is a clear, testable route; selecting the subscription's preset policy or one explicit node is enough. After the basic connection works, explore automatic switching and custom rules as needed.

Choosing a mode and node does not mean system traffic is already reaching Clash. It only defines how the client should handle traffic once it receives it. The next step is to enable the system proxy, system VPN, or TUN so the target app actually sends traffic to the client.

03

Intercept System Traffic

Establish the Proxy Connection

On Windows, macOS, and common Linux desktop environments, look for System Proxy, or a Set as System Proxy switch. Once enabled, the client writes its proxy address to the operating system settings, allowing browsers and most system-proxy-aware apps to send HTTP and HTTPS requests through Clash. For the first setup, enable only the system proxy and avoid multiple interception methods so the effect of each switch remains clear.

Android and iOS clients generally use the system VPN interface to intercept traffic. After you tap Start, Connect, or the main-page switch, the system will request permission to create a VPN configuration. Confirm that the app name matches the installed client, then allow the connection. After authorization, a VPN indicator usually appears in the system status area and the client home screen shows Running or Connected. If permission was previously denied, open the system VPN settings or tap Connect again to request it once more.

Some clients also offer TUN mode. TUN creates a virtual network interface for apps that ignore the system proxy, certain command-line tools, or scenarios requiring broader traffic interception. It commonly involves administrator permissions, drivers, routing, and DNS settings. It is not necessary for a first setup. Verify the browser with the system proxy first; only configure TUN through the TUN mode configuration section when a specific app clearly ignores the system proxy.

After enabling traffic interception, watch the client's status and log areas. Normally, logs show connection entries as web requests are made, while the Proxy page retains the selected policy group. If enabling the system proxy immediately cuts off the entire network, turn it off to restore connectivity, then check whether the active configuration is valid, the client core is running, and the proxy port is occupied by another program. Avoid switching several unfamiliar options repeatedly while offline, as this makes diagnosis harder.

Also pay attention to how the desktop client exits. Some clients keep running in the notification area after the window closes, leaving the system proxy enabled; others restore system settings when they exit. Do not force-kill the process before testing is complete. If the system proxy still points to a client that has exited, the browser cannot find the proxy port and loses network access. Restart the client and disable the system proxy, or restore automatic and manual proxy settings in the operating system's network settings.

After the connection is established, do not rush to change DNS, mixed ports, LAN sharing, or bypass lists. Keep the current configuration unchanged and open a new browser window for the next verification step. If something goes wrong, this limits the possible causes to the subscription, policy selection, and system proxy instead of a large set of advanced settings.

04

Confirm the Actual Result

Verify That the Proxy Works

Do not verify the setup by looking only at the client switch. An enabled status means the program is running, but it does not prove that the browser uses the proxy, that the expected rule matched, or that the current node can reach the destination. The most direct method is to record the device's outbound network information before connecting, then reopen and refresh the lookup page after connecting. Compare the outbound address or network location. Use a new private window or a full refresh to avoid stale browser results.

Next, visit one familiar site that should use a direct connection and one destination expected to go through the proxy. In Rule mode, different policies for these requests are normal. Return to the client's connection records or logs and check the rule and policy name for each domain. If a proxied destination matches Direct, inspect the rules or configuration. If it matches the proxy policy but still fails, check the node, network path, or destination service.

Test the apps you actually need to use as well. A working browser does not mean every program follows the system proxy. Command-line tools, games, store apps, and some desktop software may use their own network settings. If the browser works but an app still connects directly, check the app's own proxy options before deciding whether TUN is needed. One app failing does not by itself mean the entire Clash configuration is broken.

During verification, make one controlled comparison between Rule and Global modes: keep the same node and retry the same destination after changing only the mode. If Global works but Rule does not, inspect the rule and policy group matched by the domain. If neither mode works, compare with another clearly available node. Change one condition at a time so you can identify which setting affects the result.

After verification, switch back to Rule mode for everyday use and confirm that the system proxy or VPN state is as expected. For temporary use, disable the connection in the client before exiting. On desktop, also open the system network settings to make sure no manual proxy still points to a local port. On mobile, confirm that the VPN indicator has disappeared from the status bar.

Browser Verification

Open a new window, compare outbound network information before and after connecting, and revisit the destination that requires a proxy. Do not rely only on an old page that was already open.

Log Verification

Check whether the target request reached the client, which rule matched it, and which policy handled it. If no request appears in the logs, first check the system proxy or the app's proxy settings.

Application Verification

Test again in the app you actually need to use. When the browser works but the app does not, focus on its independent proxy settings and whether TUN is required.

Troubleshooting

Change One Variable at a Time

Recover Step by Step When Stuck

When something fails, check from configuration loading onward instead of changing the subscription, node, mode, DNS, and TUN all at once. The Clash request path can be simplified as follows: the app sends traffic to the client, the client reads the active configuration, rules select a policy, and the policy selects a node. If any link is missing, webpages may fail to load, so the order of troubleshooting matters more than repeatedly toggling switches.

No Nodes or Policy Groups After Importing the Subscription

First confirm that the new subscription is active, then update it once and read the error message. If the response is a webpage, login prompt, or format error, the client did not receive a readable Clash configuration. Return to the provider and copy the correct Clash subscription URL again; do not enable the system proxy to test an empty configuration.

The Client Says Connected, but the Browser's Outbound Address Is Unchanged

Check that the desktop system proxy is actually enabled or that mobile VPN authorization is complete. Then check whether the client logs show requests when you visit a webpage. No log entries usually mean traffic never reached the client; if entries exist but match Direct, inspect Rule mode and the target domain's match result.

No Websites Work After Enabling the System Proxy

Disable the system proxy first to restore connectivity, then confirm that the client core is running and the active configuration parses correctly. Test again with another available node. If the network remains unavailable after exiting the client, open the system network settings and remove any leftover manual proxy pointing to the local proxy port.

The Browser Works, but Other Apps Bypass the Proxy

The app may ignore the operating system proxy. Check whether it offers its own HTTP or SOCKS proxy setting or an option to follow system settings. If no independent setting is available, consider TUN. Before enabling TUN, read the platform-specific guidance on permissions, virtual network interfaces, and DNS to avoid conflicts with an existing VPN or security software.

Rule Mode Fails, but Global Mode Works

Keep the same node and find the target domain in the connection logs. Confirm which rule and policy group it matched in Rule mode. If it matched Direct or the wrong policy, update the subscription rules or add an appropriate custom rule. Rules are matched from top to bottom, so an earlier rule can override a later general rule; see the systematic configuration guide for detailed editing instructions.

If the issue remains after following these steps, save the client logs from when the error occurs, the operating system version, client name, current interception method, and reproducible steps, then continue with the configuration FAQ section. Remove subscription URLs, account parameters, and other sensitive content before sharing logs.

Basic Setup Complete

Go Deeper Based on Your Needs

Once the basic connection is stable, learn about TUN, DNS, rule overrides, and platform permissions as needed. Without a specific requirement, keeping the subscription's default configuration usually makes updates and troubleshooting easier.

Switch or Reinstall a Client

Choose a client by operating system, review its requirements and download options, then return to this guide and follow the same four-step setup.

Go to the Download Page →

Explore Systematic Configuration

Continue with installation details for Windows, macOS, Android, iOS, and Linux, plus sections on system proxies, TUN, DNS, and troubleshooting.

Open the Configuration Guide →