First-time setup · 4 steps

Clash Setup Guide

Import a subscription and choose Rule mode, connect your browser, then use a new request to see how its traffic is routed.

Before you begin, have a device with a working internet connection and either a Clash-compatible subscription URL from your provider or a local configuration file. With a subscription ready, you can complete the first connection test in about 10 minutes. Leave the client’s default port and DNS settings unchanged for now. That way, you can troubleshoot one step at a time: configuration, mode, app connection, and verification.

Step 1 of 4

Import a subscription and activate the configuration

Open the client and go to Configuration, Subscriptions, or Profiles. If your provider offers multiple subscription formats, choose Clash or the version compatible with your client’s core. Use the subscription URL from your provider—not an account sign-in page or a link for sharing a single node. In the configuration page, choose New, Import, or the plus button, then select Import from URL and paste the full address. If there’s a field for a name, use something easy to recognize, such as “Daily use,” so you know which profile to update later.

After choosing Save or Download, wait for the client to return to the profile list. A new entry means the file was imported, but you still need to select it or choose Enable or Set as active. Look for a selected indicator, then open the Proxies page and check for proxy groups and nodes. A proxy group is a set of outbound options defined in the configuration; a node is a server you can connect to. If the client still shows the old group names, return to the configuration page and make sure the newly imported profile is selected. If you only have a local file, choose Import from file in the same place, select the file, and activate it.

Troubleshoot download and parsing errors separately

If the client reports a timeout or says it can’t reach the URL, first check that your current network can open regular websites, then confirm the subscription is still active on your provider’s site. If the copied URL has spaces at either end, copy it again and update the subscription manually. If the download succeeds but parsing fails, check the format: you may have copied a sign-in page URL, or the configuration may contain fields your current core doesn’t support. Check the export options, then review core and configuration compatibility. There’s no need to delete a configuration that already works just to troubleshoot.

After the first successful import, try a manual update to make sure the same client can retrieve the configuration reliably. Then decide whether to enable scheduled updates. Updating and switching profiles are different: an update fetches new content from the same source, while switching determines which profile is loaded. Subscription URLs may contain access credentials. If you need help from a colleague, share only the error message with sensitive details removed. Once the Proxies page shows the expected groups, move on to step two.

Step 2 of 4

Choose a proxy mode and node

Find Outbound Mode, Proxy Mode, or Mode on the home screen, in the menu bar, or on the Proxies page, and select Rule. In Rule mode, requests are evaluated against the configuration’s rules in order, and the first matching rule applies. A rule can send a request directly or route it through a proxy group. That means some websites may still connect directly even when a proxy node is selected. This is expected with split routing, so check the record for the specific request when you test.

Next, open the Proxies page and expand the groups in your subscription. Group names are set by the configuration author. They might be called Proxy Selection or Manual Selection, or use a name chosen by your provider. Find the group used by the rule you want to test. If the client has a Rules page, search for the domain or check the matching suffix rule to see which group it uses. If that group points to another group, follow the current selection until you reach a specific node or a direct connection. Change just one group related to that rule so you can tell what made a difference during verification.

If the group supports manual selection, choose a node you’re authorized to use. If the client offers a latency test, use it to rule out options that clearly time out. A successful test only means the node responded to that test target; it doesn’t confirm that your browser is connected or that every website will load quickly. If the configuration only offers an automatic selection group, leave its default behavior in place and note the current selection. Use the actual outbound shown in the connection log to verify traffic, especially if the group may switch nodes during testing.

Use Global and Direct for brief comparisons

Global bypasses rule-based routing and usually sends requests connected through the client to the global proxy group. To troubleshoot rules, you can switch to Global briefly and confirm that its selected outbound is still the node you want to test. Direct sends connected requests straight out, making it useful for comparison on the same device. Neither mode enables the system proxy for an app or changes how the app connects to the client. For your first test, stay in Rule mode. Choose a node, then enable the connection in step three.

Step 3 of 4

Route a test app through the proxy

First, make sure the client is running. Some desktop clients start the core as soon as you open the window; others require you to click Start. On mobile, this is usually handled by a connection button on the home screen. Don’t confuse “the core is running” with “the app is connected”: the first means the client can accept proxy requests, while the second means requests from your browser or another app are being sent to it. Choose one connection method for your device below.

Desktop: connect your browser through the system proxy

Find System Proxy or Set as system proxy in the main window’s Settings, the tray menu, or the menu bar, and turn it on. For the first test, use a browser that reads the system proxy settings and isn’t controlled by a proxy extension. If the client can sync system settings, check the operating system’s network proxy page to confirm they’ve updated. Don’t copy a port number from someone else’s tutorial; use the current setting in your client, especially if you’ve changed its listening port.

If the toggle turns itself off right away, check the client’s message, see whether another proxy app is managing system settings, and confirm that your organization hasn’t set the network proxy for you. If you configured a proxy manually before, note the original settings so you can restore them after testing. Some terminal tools and apps have their own network settings and may ignore the system proxy. Start with a browser to reduce variables, then check how the specific app connects after the browser test succeeds.

Mobile: confirm the client’s VPN configuration

Return to the mobile client’s home screen, make sure the profile you activated in step one is selected, and tap Connect. If the operating system asks to add a VPN configuration or allow the connection, check that the request comes from the client you just opened, then approve it as prompted. Check the connection status in the client. The system’s VPN indicator helps confirm that a connection is established, but doesn’t show whether a particular website is going direct or through the proxy. If another VPN is using the connection, make sure it’s safe to disconnect before trying again. On managed devices, follow your administrator’s instructions for permissions.

Once the desktop system proxy or mobile VPN connection is active, don’t change networks, update the subscription, or switch nodes yet. Open a browser and choose a website you’re authorized to access that should use the proxy. Keep everything else the same so the connection log can show which part of the setup is working.

Step 4 of 4

Verify the connection and traffic routing with a new request

Open the client’s Connections or Logs page, then visit the test site in your browser. Send a new request rather than relying on a page that was already loaded. Close and reopen the tab, or restart the browser if needed, to reduce interference from cached content and existing connections. In the client, look for the record by domain or the time you visited. A webpage may request images, scripts, and other resources from different domains. Check the main site shown in the address bar first; don’t use a request for another resource to draw conclusions.

Make sure the request appears in the log, then check the matched rule and actual outbound. If it matches the expected rule, goes through the proxy group to your selected node, and the page loads, the request is using the proxy as expected. If it shows DIRECT, the request went out directly. That’s normal if it was supposed to connect directly. If you expected it to use the proxy but it matched a direct rule, check the rule order, domain matching, and fallback policy before changing nodes.

To check your public IP, compare results on the same trusted IP lookup site. Keep the device and network the same: first send a new request in Direct mode and note the result, then switch back to Rule mode. Confirm that the lookup domain’s request matches a proxy rule before checking again. A different IP is useful supporting evidence. If the results match, check whether the lookup request actually changed its outbound; both routes may also share the same exit IP. The result reflects only that request, not how other apps or websites are routed.

Use the connection log to pinpoint the issue, then change one thing

If the request doesn’t appear in the log, revisit the connection step and check the connection toggle, whether your browser uses system proxy settings, and whether the Connections page has a filter enabled. If the request appears but uses the wrong outbound, revisit the mode step and check the current mode, matched rule, and related proxy group. If it uses the expected node but times out, choose another available node in the same group and retry the same URL. If multiple nodes fail, check whether the subscription has expired, whether the network has changed, and whether your current core supports the configuration’s protocol. Change one thing per test and use the same target each time; otherwise, it’s hard to tell what fixed the issue.

When you’re done testing, restore any temporary changes to your usual settings. If you switched to Global or Direct, return to Rule mode. If you’re done using the proxy, turn off the system proxy or disconnect on mobile before quitting the client. After changing subscriptions, clients, or cores, follow the same verification steps. For help choosing a protocol or migrating a configuration, see the protocol guide and compare protocol support, core families, and subscription formats.

Download Clash clients