Setup guide / First connection

Clash Mobile Setup Guide

Go from importing a subscription to verifying traffic routing in four steps.

Start with the instructions for your phone. If you’ve switched phones or haven’t installed a client yet, see Android downloads or iOS downloads. Button labels vary between clients: look for “Profiles” or “Subscription” to import a profile, and “Start” or “Connect” on the home page. Look for the right function rather than an exact label.

Before you start, get a subscription link marked as Clash-compatible by your provider, or a trusted YAML configuration file. The client reads the configuration and establishes the connection; the routes come from the configuration you import. If you have both the client and subscription ready, allow about 10 minutes for the initial setup.

Import a subscription

Open the client and go to Profiles or Subscription. Tap the plus icon in the top-right corner, then choose “Import from URL,” “Remote configuration,” or a similar option. If your subscription provider offers multiple formats, choose the one specifically labeled for Clash, then use the page’s copy button to copy the full link. A subscription link is usually a long URL. Don’t enter the provider’s login page, a shareable information page, or a single node’s share text as the Clash configuration URL.

Paste the link into the “Subscription URL” or “URL” field. If the app asks for a name, use a short label you’ll recognize so you can tell it apart from older profiles. Check for spaces or line breaks at either end, and don’t remove any parameters after the question mark. Tap “Save,” “Download,” or “Update,” and wait for the profile to appear. If the app creates the entry first and downloads it separately, open its menu and tap “Update.” Subscription URLs may contain access credentials. Don’t post the full link in a group chat or submit it to an untrusted online conversion tool.

If you have a YAML file, return to the add menu, choose “Import from file,” then find the downloaded file in the system file picker. If opening the file shows a provider login page, an error, or raw webpage source, go back to the original provider and download the configuration again. For a “format error,” check the downloaded content and file format. For a “request timed out” message, make sure your phone is online, then retry the original link. Note the error and where it occurred; that makes troubleshooting easier than changing the subscription URL and proxy mode at the same time.

When the download finishes, tap the profile itself or choose “Enable” or “Switch to this profile” from its menu. A profile appearing in the list only means it was imported, not that it’s active. Return to the home page and check that “Current profile” shows the name you just imported. If the name isn’t shown there, look for a checkmark or selected indicator in the profile list. Then open the Proxy page and confirm the profile’s proxy groups have loaded. If expected nodes are missing, check the configuration before starting the connection.

Choose a proxy mode

Once the profile is active, choose “Rule” under “Proxy mode” on the home page or at the top of the Proxy page. This mode checks requests against the rules in the current configuration and sends them to the specified routes. Some requests may go direct while others use a proxy group; both can be expected. Keep Rule mode for your first setup so you can verify how this configuration routes traffic.

Next, open the Proxy page and check the group names. They’re set by the configuration author and may be called “Node Selection,” PROXY, or something else. If the client has a Rules page, check which group handles the domain you’ll test. If it doesn’t show rules, look for the main proxy group in your provider’s instructions. Don’t just choose the first group in the list: if the routing rules point to another group, the node you selected won’t handle this request.

Open the target group. If it supports manual selection, choose a node and confirm the selection indicator moves to it. If the group points to a subgroup such as “Auto Select” or “Fallback,” keep automatic selection as configured, or choose a manually selectable node in the parent group. If the client offers a latency test, use it to compare candidates as a first check. A speed test only reflects that particular test request, so it doesn’t replace opening a page in the browser in the next step.

If you see “Global” and “Direct,” don’t use them instead of Rule mode. “Global” usually sends all traffic handled by the client to the global proxy group; “Direct” sends it without a proxy. These modes can help with comparisons, but they don’t show whether the original routing rules are working. To learn how different rules match, see the glossary after your first connection. For now, just confirm two things: the mode is set to “Rule,” and the proxy group used for the test has a defined route.

Connect the client

Return to the home page and check the active profile name once more, then tap “Start” or “Connect.” The first time you connect, the system will usually ask to establish a VPN connection or add a VPN configuration. Check that the app name in the prompt matches the client you just opened, then approve the request. On Android, you’ll typically see a system connection request; on iOS, you’ll usually be asked to allow a VPN configuration. The system may also ask you to unlock your phone or confirm your identity. After approving, return to the client rather than checking the result in system settings.

Wait for the home page to change from “Connecting” to “Connected” or “Running,” then open a browser. Some phones show a key or VPN icon, but its location varies by system version; it may only appear in Control Center or system settings. A system icon confirms that a tunnel is established, but it doesn’t prove that a subscription node is working or that a particular app is following the proxy rules.

If the client disconnects shortly after you tap Start, first read the message on the home page or the first error in the log. If it says permission wasn’t granted, tap Connect again and approve the system prompt. If the configuration couldn’t be loaded, return to the profile list and check whether the imported entry can be enabled. If you have another personal VPN or a filtering app that uses the system VPN interface, check for conflicts. Leave work- or school-managed network settings unchanged; consult your device administrator before modifying them.

For your first test, keep your phone on the same network. Don’t switch between Wi-Fi and mobile data while checking the connection. Leave the client running and complete the browser check on that network. If the connection drops only when you switch networks or lock your phone, treat that as a separate issue: note when it happens, then check background restrictions or network-switching settings. There’s no need to re-import the subscription or change DNS first. The basic pass condition is simple: the connection is still running when you return to the home page, with no immediate error or disconnect.

Check that the proxy is working

Choose a domain in the current configuration that should clearly use the proxy, or use a test address supplied by your subscription provider. Keep the client connected, open a new browser tab, enter the address, and make a fresh request. Don’t rely on a page that was already open: it may be showing cached content, and some sites redirect to a different domain. Note the final domain in the address bar and roughly when you opened it so you can find the matching entry in the client.

Open the Connections or Logs page and search by domain or by the time you just noted. If the Connections page only lists active sessions, open the logs, switch to the browser, refresh the page, and return to the client right away. Once you find the entry, check the matched rule first, then the proxy group or node used. The first check is successful if the page loads and the entry shows the request going through the expected proxy group. If the entry shows DIRECT and the rules are supposed to send that domain direct, that’s not an error. Test another domain that should clearly use the proxy.

If a test domain that should use the proxy shows as direct, first confirm that the home page is still in “Rule” mode. Then check whether the domain changed due to a redirect and which rule matched the request. If the log shows the expected group but the page won’t load, switch just one node in that group and retry the same address. Change one thing at a time to tell whether the rule chose the wrong route or the selected route is temporarily unavailable. If there’s no entry at all, confirm the connection hasn’t dropped, logging is enabled, and the browser made a fresh request. If the client offers per-app routing, check that the browser is included.

If you use an IP lookup page, first confirm in the logs that the lookup request itself went through the proxy. Otherwise, the page may show your current network’s public IP, which doesn’t mean the proxy has failed. Conversely, seeing a proxy IP only verifies that one request; it doesn’t mean every app on your phone used the same route. For everyday checks, compare the page result with the connection log from the same time rather than relying on the system icon alone.

Once the check passes, keep the current profile, mode, and node as a baseline for future troubleshooting. When you update the subscription, tap “Update” on the same profile, confirm it’s still the active one, then test the same domain again. If the previous node disappears after the update, choose another one in the proxy group. For custom rules, TUN and DNS, or configuration migration, see the beginner-to-advanced configuration guide. There’s no need to change everything during your first connection.