Clash for Android / Quick Start
Import a Clash Subscription
and Connect
Use an existing configuration to make your first connection. Select the configuration, enable system traffic routing, then check a new request to see which rule it follows.
Step 01 / Configuration Source
Import a Subscription
Open the client and go to “Profiles,” “Configuration,” or “Subscriptions.” The list is usually empty the first time. Tap the plus button or “Add” in the top-right corner, then choose an import method based on what you have: if your provider gave you a full subscription URL, choose “Import from URL”; if you already saved a YAML file on your device, choose “Import from File.” A provider’s sign-in page, product homepage, or individual node share link is not the same as a loadable Clash subscription.
Import from a Link or File
To use a subscription URL, paste the complete link into the URL field. Check that it has no extra spaces at either end, and don’t remove the parameters after the question mark. Give the profile a recognizable name, such as “Everyday phone,” then tap “Save” or “Import.” Some clients fetch it right away; others create the subscription first and require you to tap “Update.” When loading finishes, return to the list and check for download or parsing errors. Seeing a subscription name in the list alone doesn’t mean the core has loaded its contents.
To import a local file, use the system file picker to locate the actual .yaml or .yml file. On mobile, look in Downloads or use the system Files app. On desktop, if the client supports drag-and-drop, check the profile list after importing. If the client can’t parse the file, first make sure you saved a YAML file—not a webpage, archive, or preview generated by a messaging app. Changing the file extension won’t turn other content into YAML.
Select the Imported Configuration
Select the configuration you just imported, or choose “Enable” or “Apply” from its menu. Check for a tick beside the entry or the profile name on the home screen. The list contains profiles you can switch between; the one shown on the home screen is the profile in use. If the client only shows proxy groups after the core starts, confirm the profile selection now and check the group names after connecting.
If the import fails, first check whether the network request failed or the returned content couldn’t be parsed. For a request failure, make sure your connection works and the link hasn’t expired. For a parsing error, return to your provider’s site and confirm you copied a subscription URL in a Clash-compatible format. Don’t post the full URL on a public forum or share it in a screenshot—it may contain access credentials. For help identifying formats, see the terminology guide. Once the profile is imported and selected, choose how to route traffic.
Step 02 / Traffic Routing
Choose a Proxy Mode
Return to the home screen and look for “Mode,” “Operation Mode,” or the mode selector at the top of the Proxies page. For your first connection, choose “Rule” or Rule so the client routes each request according to the active configuration. This setting controls how traffic is handled after it enters the client; it doesn’t turn the connection on. Even if “Rule” is selected, browser requests may bypass the client entirely until system traffic routing is enabled.
Rule, Global, and Direct Modes
In Rule mode, the core checks rules in order and applies the policy from the first match. Some sites may use a proxy group while others connect directly—both outcomes can occur at the same time. Global mode typically sends requests that reach the core through the global policy; the result depends on which policy is selected, and it does not enable system traffic routing. Direct mode sends requests that reach the core straight out. It’s useful for comparison, but it doesn’t stop the service.
If the mode selector isn’t on the home screen, check the tray menu or Settings. After choosing a mode, leave the page and confirm that the home screen or tray menu shows “Rule.” If switching profiles resets the mode to the profile’s default, use the mode currently shown and select “Rule” again if needed. There’s no need to edit YAML to set this during initial setup.
Check the Selected Proxy Group
Open “Proxies” or “Proxy Groups” to see the available groups and current selections. Names come from the configuration file, so a group may not be called “Node Select.” A manual group lists available members; open the group and choose a node provided by the configuration. Automatic groups select members according to their settings, so you can leave the defaults in place for your first test. A successful speed test only shows that the probe received a response—it doesn’t replace a real browser connection test.
If a group offers other groups, nodes, and DIRECT, note that these are different kinds of options. Selecting another group applies that group’s policy; selecting DIRECT sends matching requests directly. You don’t need to change every group. Keep the existing relationships between groups and only change groups that require manual selection. For details on how fields reference groups, see the Proxy Groups section of the configuration reference. Next, return to the home screen and start the service.
Step 03 / System Traffic Routing
Start the Connection
Before starting, make sure the home screen shows the configuration selected in step one and the mode chosen in step two. If you need a work VPN or your device is managed by an organization, don’t disconnect it or change managed settings just to test. Use an approved device or network instead. Follow only the instructions for your platform below.
Mobile: Approve the System VPN Request
On Android, tap “Start” or the connection toggle on the client’s home screen. The first time you connect, Android usually asks you to approve a VPN connection. Make sure the request comes from the client you just opened, approve it, then return to the home screen and wait for the status to change from “Stopped” to “Running” or “Connected.” If you dismiss the system prompt, tap Start again. If permission isn’t granted, check the system message; there’s no need to import the subscription again.
On iOS, tap Connect and follow the system prompt to allow the VPN configuration to be added. Return to the client and check its status. If needed, open Settings to confirm that the selected client’s VPN is active. Another VPN connection on your phone may prevent the new one from working at the same time. Check whether switching is allowed, then resolve any conflict through the system interface. If the status quickly returns to Stopped after authorization, check the client logs for startup errors. A VPN icon that appears briefly doesn’t mean the connection is stable.
Desktop: Core Status vs. System Proxy
Enable the selected profile in your desktop client and confirm that the core is running. Then turn on “System Proxy” from the home screen, Settings, or tray menu, and test with a browser that follows the system proxy settings. Some clients start the core as soon as you open them, even while the system proxy remains off. Linux desktop environments and apps vary in their system proxy support. If the client can’t enable it for you, check its documentation for the supported settings in your desktop environment or browser.
If your client explicitly uses TUN mode to route traffic, enable it as prompted and grant the required system permissions. For your first test, use just one routing method to make troubleshooting easier; don’t enable both System Proxy and TUN at once. If the client reports a port conflict or fails to enable traffic routing, note the exact error and check Port Settings or TUN Mode. Once the status is stable, leave the configuration unchanged and continue to the next step.
Step 04 / Request Verification
Verify the Connection
Open “Connections,” “Active Connections,” or “Logs” in the client and note the current time. Then use a browser to visit a familiar HTTPS site that’s approved for testing. If possible, test a destination you haven’t opened before. When checking an existing page, a refresh may use cached content or reuse an old connection. If no new entry appears, try a clearly different destination instead of repeatedly refreshing the same tab. Active connection lists may only show sessions that are still transferring data, so short requests can disappear quickly. Switch to the list while the page loads, or check whether the client keeps connection logs.
Check the Destination, Rule, and Outbound
Find the entry matching the time you visited and check its domain or address. Some clients show the matched rule, proxy group, and final outbound separately; others show only some of these fields. Use the information available in your client. If the destination matches a direct rule, DIRECT is the expected result. To test a proxy route, choose a destination that the active configuration explicitly sends to a proxy group. Confirm that it uses the expected policy and the page loads. If no test destination is routed through a proxy group, you can verify only the direct route—not that the proxy route works.
Don’t rely only on whether a webpage opens, whether the VPN icon is lit, or whether a site reports a different exit IP address. A reachable page shows that the request got a response; the icon reflects the system connection status; and the exit IP shows only what that site sees. Match the actual request to the client’s log to tell whether it entered the core and was routed directly by a rule, or bypassed the client entirely.
Troubleshoot Using the Logs
If you can’t find a matching entry, return to step three and check that traffic routing is enabled. Then check whether the test app follows the system proxy, has its own bypass rules, or is excluded by per-app routing on mobile. If an entry exists but took the wrong route, review the active profile, operation mode, and proxy group selection before changing rules. If the entry shows the expected proxy route but keeps timing out, try another available member in the same manually selected group, then retest the same destination. Change one setting at a time so you can identify what affected the result.