// From Configuration to Connection Logs

Clash Setup Guide: Subscriptions and Connections

Import a configuration first, then route traffic through Clash. Finally, check the rules and exit on the connection page; an enabled toggle alone does not verify that the setup works.

// STEP 01 · Configuration Source

Import a Subscription or Local Configuration

Open Clash Verge Rev and select “Subscriptions” in the sidebar. For a remote subscription, paste the full URL into the import field at the top of the page and click “Import.” When the subscription card appears, click it to switch to that configuration and check that it’s selected. This is especially important if you already have an older configuration: seeing a subscription in the list doesn’t mean the core has switched to it, and the proxy page may still show groups from the previous configuration.

For a local file, go to “Subscriptions,” choose the local configuration type under “New,” and import the YAML file as prompted. Then select the entry. Keep the original file so you can restore it if needed. Either method works: remote subscriptions can be fetched again, while local configurations use the content imported or saved by the client. After editing a local file, check whether the client reads it directly. If importing created a copy, update the copy—not just the original.

After selecting a configuration, open the “Proxies” page. You should see the groups or proxy exits defined in that configuration. If the expected items aren’t there, return to the subscriptions page and check which configuration is selected, then look in “Logs” for errors from the import or switch. If the request failed, first check that the URL is complete and still valid. If the request succeeded but parsing failed, make sure the response is a Clash configuration supported by the client—not an account sign-in page, a list of shareable nodes, or a server error message.

To troubleshoot local YAML, start with the line number in the log and the few lines above it. Check the hyphens before list items and the indentation of fields at the same level. Don’t change the subscription and settings at the same time, or you won’t know which change fixed the issue. For a comparison of URL formats, see subscription URLs and import formats. Subscription URLs may contain access credentials, so redact the full URL and its query parameters before sharing screenshots or logs.

Before you continue: The subscriptions page shows the active configuration, and the groups on the proxy page match it.

// STEP 02 · Routing Decisions

Choose a Proxy Mode and Group

On the “Proxies” page, find the mode selector and choose “Rule” for your first connection. In Rule mode, the core checks requests against rules in order, then sends each match to its assigned group or applies an action such as direct connection or rejection. Choosing a node only affects requests routed through the group that uses it. The mode determines how traffic is handled once it reaches the client; it does not send traffic to the client in the first place.

Expand the group responsible for proxied traffic. Group names are set by the configuration author: a group might be called “Node Selection” or be named after a service. In a manual selection group, click a node. If the selected item is another group, open it and confirm the final exit. For automatic selection groups, check the currently selected node; you don’t need to change the configuration just to display a particular name. Before testing the proxy exit, check whether the current selection is DIRECT. That means a direct connection, not a node.

“Global” is useful for a quick comparison, but it isn’t the master switch for proxying. After switching to Global mode, make sure the global group also has an available exit selected. If that exit is the same, and a destination works in Global mode but fails in Rule mode, switch back to Rule and check whether the connection matched an unexpected rule. “Direct” mode can help you determine whether the same destination is reachable without a proxy node. Change one setting at a time and make a new request for each comparison; don’t treat the result of an existing connection as a test of the new mode.

You don’t need to reorder rules for an initial check. Choose one destination you know should use a proxy group, then another that the configuration explicitly routes directly. Check the connection logs for each. If you’re unsure how a rule is interpreted, see rule syntax and match order. Don’t route all traffic through the global group long-term just to make one site work; that can hide routing problems.

Before you continue: Rule mode is selected, and you’ve confirmed the group and current exit for your test destination.

// STEP 03 · Route Traffic

Connect and Route App Traffic

On desktop, open “Settings,” find “System Proxy,” and turn it on. Start by testing with a browser that uses system proxy settings. Keep the client running and reopen a test page in the browser. The system proxy doesn’t cover every app: some use their own proxy settings, while others read the system settings only at launch and keep using the old values. If the browser has connection logs but another app doesn’t, restart that app and check its network settings; there’s no need to reimport the subscription.

If the target app ignores the system proxy, or you need to test TUN, turn off the system proxy first, then enable “TUN Mode” in “Settings.” If the client asks to install a service or grant permission, make sure the prompt comes from the client you’re using, then follow the system prompts. Return to the client to confirm the toggle stays on, and check the core log for a TUN adapter startup entry. If the toggle switches back off immediately, address the related permission, service, or adapter error in the logs. Don’t keep changing the stack, routes, and DNS settings all at once.

On mobile, select a configuration and group, then return to the client’s home screen and tap “Start” or “Connect.” The first time, the system will ask to let the client create a VPN configuration. Approve it, return to the client, and wait for the status to show connected before switching to your browser or target app. Another active VPN on the phone, or device management on a work device, may prevent a new connection. Check the system VPN page and device management requirements; don’t disable a connection required by your organization just to test this one.

For an initial test, use just one traffic-routing method and change only one setting at a time. On desktop, check whether a separate browser proxy extension is overriding the system proxy. If local network pages stop loading after you enable TUN, turn it off and check whether the same page works again. Then see the routing and overrides sections in the configuration reference. At this point, the toggle and system prompts only show that traffic routing has started. Check the connection logs in the next step to confirm traffic was actually captured and routed correctly.

Before you continue: Keep one working traffic-routing method enabled, and make sure the client is still running.

// STEP 04 · Actual Exit

Verify the Connection

Open the client’s “Connections” page and leave it visible, then visit your chosen test destination in a browser. Search the new connections for the target domain and open an entry to check the destination address, matched rule, and exit chain. A single page may request several domains, so inspect the one you’re actually testing—not just the first entry in the list. If the browser reused an existing connection, close the relevant tabs and, if needed, quit the browser completely before making a new request. Connection entries may disappear when a request ends; logs can also help you match requests to the time they occurred.

For rule-based routing, check both types of result: a destination expected to use a proxy should show the expected group or node, while one expected to connect directly should show DIRECT. A page loading successfully doesn’t prove that it went through a proxy. Likewise, an unchanged exit IP doesn’t mean Rule mode failed—the destination may be meant to connect directly. If a request reached the client but matched an unexpected rule, check the actual request domain and rule order. If there’s no new connection entry at all, revisit the traffic-routing settings and check whether the test app is actually sending requests through the client.

Test Clash Node Latency and Retry the Connection

If the connection entry shows the expected rule and node but the page still won’t load, open “Proxies,” expand the relevant group, and click the latency test beside a node or use the group’s test option. Wait for the current test run to finish before comparing results. This measures how long a request to the test address takes through the node; it isn’t a file download speed test and can’t guarantee access to every site. If one node times out, try another responsive node in the same group and revisit the original destination in the same mode.

If several nodes time out, first check whether the device itself can access the internet. Then check the logs to see whether the issue is DNS resolution, a connection timeout, or a proxy handshake error. Don’t change DNS, ports, and the network stack all at once just because a request timed out. For a clear DNS resolution error, start with DNS settings and field reference. If the issue started after switching groups, switch back to the last working exit. Retry the same destination after each change so you can tell whether that change made a difference.

Once both proxy and direct destinations behave as expected, keep the verified mode and traffic-routing method. To stop temporarily, turn off the system proxy or TUN you enabled on desktop, then exit the client. On mobile, disconnect in the client and confirm the system shows that the VPN is disconnected. If the system proxy still points to the local client after it exits, apps that use system proxy settings may temporarily lose internet access. Note the active configuration and selected group so you can use these verified settings as a baseline next time something goes wrong.

Success criteria: New requests load, and the rules and exits in the connection logs match what you expect for each destination.