Four-step setup · First connection
Clash Setup Guide
Import a subscription, choose a mode, connect, then check whether browser traffic is routed as expected.
Before you begin, get a subscription link from a trusted source that supports your client. Haven’t installed a client yet? Find a download for your platform.
Step 01 · Profile source
Import a subscription
Open the client and go to Profiles, Subscriptions, or the Profiles page. Find New, Add, or the plus button, then choose Import from URL. Some clients put the URL field at the top of the profile list. Copy the subscription link that the source explicitly identifies as compatible with Clash or your client, paste the full URL, then select Import or Save. If you’re asked to enter a name, use the source and purpose so you can tell profiles apart later. Don’t enter the URL of an account login, help page, or sharing page: a link opening in your browser doesn’t mean it points to a configuration the client can read.
Wait for the new profile to appear in the list, then select it. If its menu includes Use, Enable, or Set as active, choose the relevant option. Check the selected indicator or the profile name on the home screen to confirm the switch, then open Proxies and see whether policy groups have loaded. A successful import only means the client received the profile; it may still be using an older one. Conversely, if the new profile is selected but Proxies is empty, don’t enable the system proxy yet. First check whether the profile loaded successfully and whether it includes proxy nodes and policy groups.
Import failed? Check each step
For a timeout or certificate error, first make sure your device is online, its date and time are correct, and the URL was copied in full without extra spaces. If the content loads but the client reports a parse error, check the source page to make sure you chose a format your client supports, not a link intended for another app. Some clients can import local profile files; if you have a file from a trusted source, choose Import from file instead of pasting its name into the URL field. Subscription URLs may contain account credentials. When troubleshooting, note only the error type—never post the full URL publicly or share it with an unfamiliar conversion service.
Move on once you’ve confirmed the right profile is active and the Proxies page has loaded its contents. If your existing profile works, you can keep it. Switching back to it is easier than repeatedly overwriting profiles if the new subscription won’t load.
Step 02 · Routing policy
Choose a proxy mode
Open Proxies and look for Mode or Proxy Mode at the top of the page or in settings. For your first setup, choose Rule. Rule mode applies the current profile’s policies to each destination: some requests can connect directly, while others go through a selected policy group. The mode and node are separate settings. The mode determines how connections are routed; the node in a policy group determines which outbound route that group uses. After changing the mode, make sure the newly enabled profile is still active before choosing a node.
Find the policy group in your profile that handles proxy traffic. It may be called Node Selection or Proxy, or have a custom name set by your subscription provider. Don’t rely on the name alone; follow the profile’s documentation to confirm what the group does. If you can choose a node manually, select one so you have a clear reference for testing. If the group offers only automatic selection or failover, keep the default and check the actual outbound route during verification. If the client offers a latency test, you can use it for an initial check, but the result reflects only the response from that test address at that moment. It doesn’t replace testing the site you want to reach.
When to switch modes temporarily
Global mode can help with comparisons: traffic that reaches the client follows the global policy instead of being evaluated rule by rule. Before testing, make sure the global policy group isn’t set to DIRECT. Direct mode sends traffic that reaches the client straight out without using a proxy node. If an address fails in Rule mode but opens in Global mode, check the rule and policy group it matched before assuming a rule is wrong—the two modes may use different outbound routes. Switch back to Rule mode when you’re done comparing.
At this point, selected mode and node indicators only confirm that routing is configured. Browser and app requests still need to reach the client first; that depends on the connection method in the next step.
Step 03 · Route traffic to the client
Connect
Desktop: start with the system proxy
Return to the client’s home screen or settings. If it has a separate start button, start the core first and wait until the client shows it’s running. Then enable System Proxy. Test with a browser that follows system proxy settings. The system proxy affects apps that read this setting; some browser profiles, extensions, or apps use their own proxy, and background processes may not follow system settings. For your first test, don’t configure different proxies in both the browser and the system. Otherwise, even if the page opens, it’ll be hard to tell which route the request took.
If the browser’s traffic appears in the client but another app’s traffic doesn’t, consider whether you need the client’s TUN mode. TUN typically uses a virtual network interface to capture traffic from apps that don’t use the system proxy, and may require administrator permission or a service to be installed. It doesn’t replace Rule mode: TUN determines how traffic enters the client, while Rule mode determines how traffic is routed after it arrives. Before testing TUN for the first time, note the system proxy’s original state so you don’t change multiple settings at once. On a managed device, follow its authorization requirements. For a first test, the system proxy is enough; there’s no need to change DNS or routing settings.
Mobile: start the connection from the home screen
Return to the client’s home screen, check the active profile and mode, then tap Connect, Start, or the main toggle. The first time you connect, Android or iOS may prompt you to add a VPN configuration or establish a VPN connection. Make sure the prompt belongs to the client you just opened, then approve it. Wait for the home screen to show Connected. Whether a VPN icon appears in the status bar depends on the device and its interface; the icon alone doesn’t prove a request used the proxy. If another VPN is already managing the device, check whether you’re allowed to disconnect it before switching. Don’t stop a managed connection just to test on a work device.
Keep your network unchanged while testing. If you start on Wi-Fi, finish the check on the same Wi-Fi network. Don’t switch nodes and mobile data at the same time. If the toggle switches off immediately or a permissions prompt appears, check the error message on the client’s home screen. Refreshing a webpage won’t fix an authorization issue if the connection hasn’t started.
Step 04 · Check the connection
Verify the connection
Open the client’s Connections page, or Logs if there’s no separate connection list. In your browser, first visit a commonly used domain expected to connect directly, then visit one that should clearly use the proxy. Choose test addresses based on the profile documentation; don’t guess which rule a site will match based only on its location. Send one set of requests at a time, then return to the client and look for the destination hostname. Short-lived connections may disappear from the list quickly; check recent logs, or close and reopen the tab to create a fresh connection.
Compare three details: destination domain, matched rule, and actual policy. A direct request that reaches the client may show DIRECT; if it bypassed the proxy at the system level, it may not appear in the client’s list at all. A request expected to use the proxy should be handled by the relevant policy group. Clients that show the full outbound chain may also display the node actually used. A page opening doesn’t prove it used the proxy, and a page failing to load doesn’t prove the node is offline. Before judging the routing, make sure the log entry is for the page you tested, not a related image, font, or other domain that loaded at the same time.
If the result doesn’t match, change one thing at a time
If neither visit produces a connection entry, return to connecting and check that the system proxy or mobile connection is still on and that your test app uses it. If you can see an entry but it’s using the wrong policy, return to Proxy mode and check the active profile, mode, and policy group. If the log shows the expected node but the request still fails, change just one node in the same policy group and test again on the same network with the same address. For repeated timeouts, DNS errors, or a system proxy toggle that won’t stay on, note which step failed and follow the troubleshooting guide for that symptom.
Once both test requests behave as expected, you’re ready to use the client. Note the profile name, proxy mode, and connection method for easier troubleshooting later. When you’re done, turn off the system proxy or TUN you enabled in the desktop client before quitting; on mobile, disconnect from the client. If the device had dedicated network settings before you started, restore their previous state rather than clearing everything.