Clash Quick Start
Follow these four steps to import a subscription and verify your first proxy connection. Before you begin, make sure you have a client installed, a subscription compatible with that client, and a working internet connection. Haven't installed a client yet? Choose one for your system on the client downloads page, then come back here.
Switching between desktop and mobile: Subscriptions and rules work the same way, but the connection controls differ. Depending on the client, the import option may be called “Profiles,” “Subscriptions,” or “Configuration.” To connect, look for “System Proxy” on desktop and “Connect” or the power icon on mobile. The steps below describe what each control does; menu names vary by client.
Step 1: Import a Subscription
Copy the subscription URL from your provider's account page. If the page offers different copy options for different clients, choose one labeled Clash or mihomo and marked compatible with your client. A subscription URL points to a configuration resource that the client can read; it is usually different from the URL of the account page. Copy the entire link, including any parameters after the question mark. These parameters may identify your account or grant access, so don't share the URL in public chats or include it in screenshots posted for help.
Open the “Profiles” or “Configuration” page from the client's sidebar or bottom navigation, then look for “Add,” “Import,” or a plus icon. If prompted to choose a source, select “Remote” or “Import from URL” and paste the link into the URL field. Give the profile a descriptive name if you like; this only changes how it appears in the list. Click “Save” or “Import.” If the new entry still says it is waiting for an update, open its menu, select “Update,” and wait for it to finish.
Return to the profile list and select the entry you just imported. If the menu has an option such as “Use,” “Apply,” or “Set as current,” choose it. An entry appearing in the list usually means it was saved, not that it has replaced the active profile. Make sure the new entry is marked as selected, then open the Proxy page to check its groups. If the client supports previews, confirm that the subscription is the one you expect before enabling it. The next step requires its proxy groups or nodes to have loaded so you can choose an outbound route.
If your provider gave you a local YAML file, choose the file import option. The file will be used as a local profile; whether it can be updated depends on whether it references remote resources. A local import is not the same as a remote subscription. If the client reports invalid content, first check the subscription format, make sure the full URL was copied, and confirm that your provider still allows access. Fix the import issue before changing proxy modes. For other update errors, see Troubleshooting.
Step 2: Choose a Proxy Mode
Once the profile has loaded, open the mode selector at the top of the Proxy page or on the home screen, and switch to “Rule.” In Rule mode, the rules in the active profile determine where each connection goes: some requests may be sent to a proxy group, while others may connect directly or be blocked. Rules are checked from top to bottom, and the first match usually applies. So even if a group has a node selected, a site that matches a direct rule won't use that node.
Think of “mode” and “proxy group” as two separate choices. The mode determines how requests are routed; the group determines which outbound route requests assigned to it will use. “Global” applies the global policy to requests handled by the client and is useful for briefly checking an exit route. It does not replace the system proxy or VPN for capturing app traffic. “Direct” sends requests handled by the client straight to their destinations. See the glossary for more on the three modes.
Next, open Proxy or Proxy Groups and select the group expected to handle traffic to your test site. If the profile has a manual selection group, choose a clearly named node and note the group and node names. If the selected option points to another group, open it to check the final outbound route. A URL-Test or fallback group may switch nodes during your test. You don't need to edit the profile for a first check; use the actual result shown in the connection details in the final step.
If the client offers a speed test, you can run one for the selected group. The result only shows how that node performs against the specified test URL; it doesn't verify access to your target site. You can also check the profile's rules page and pick an ordinary webpage that should go through a proxy group. If the client doesn't show its rules, note the domain and check the actual match after connecting. Make sure Rule mode is still selected, then continue.
Step 3: Connect to the Proxy
On desktop, leave the client running, open “System Proxy” on the home screen or in settings, and wait for the switch to turn on. If you previously set a system proxy manually, note the original settings so you can restore them later. For your first test, use a browser that follows system proxy settings. Keep those settings enabled, and make sure a browser proxy extension or manually entered address isn't overriding them. Turning on the client switch only enables the proxy entry point; the next step confirms whether browser requests are reaching it.
On Android or iOS, return to the client's main screen and tap “Connect” or the power icon. The first time you connect, the operating system usually asks to allow a VPN connection. Check that the prompt names the client you just opened, allow it, and wait for the status to show Connected. If another VPN is already active, check whether it can be paused. Keep work- or school-managed connections as required; don't remove managed settings just to run this test. If the status changes after switching between Wi-Fi and mobile data, wait for the network to stabilize before verifying the connection.
For your first desktop test, use the system proxy; there's no need to enable TUN at the same time. Apps that ignore system proxy settings may connect directly, so a working browser doesn't mean every app uses the same route. If you specifically need to test an app that ignores the system proxy, first confirm that the browser, subscription, and node all work. Then follow the app capture guidance in Troubleshooting. Avoid changing the entry point, rules, and node all at once, or it will be hard to tell what made a difference.
Once the switch is on, keep the same network, profile, and node. Open the client's Connections or Logs page so it's ready. If startup fails, read the full message before deciding what to do next. For example, restarting the browser usually won't free a local listening port that's already in use. In that case, see the steps for resolving a port conflict. Once the connection status looks normal, make a webpage request you can verify.
Step 4: Verify the Connection
In your test browser, open the site you chose in step 2, then immediately check the client's connection list. Search for the domain or find the latest connection by time. Some requests finish quickly and may disappear from active connections; check the history or logs for the same time period if available. Open the connection details. Check the destination domain first, then review the matched rule and policy chain. If the chain has multiple entries, use the final outbound node or Direct label to determine how the request was routed.
If the page loads and the request uses the expected outbound node, your proxy check is complete. To test rule-based routing, open a site that's expected to connect directly and check whether it matches a direct rule. If the domain appears in the client log with DIRECT, the request reached the client but was routed directly. That's different from the request being completely absent from the connection list and available logs; in that case, first check whether the app is using the proxy entry point.
To check your public exit IP, keep the device, network, and browser the same, and use the same public IP lookup page for both the direct and proxied tests. Record the direct result, switch back to Rule mode, confirm that the lookup domain is routed through a proxy node, then reload the page. Compare like with like—for example, IPv4 with IPv4. A changed address can help confirm the exit route. If it hasn't changed, first check whether the lookup request matched a direct rule or reused an existing connection. Don't rely on the lookup result alone to determine whether the client is capturing traffic.
If you still don't get the expected result, go back to the step that matches what you see. No proxy groups? Check that the profile is selected. The switch is on, but no browser requests appear? Check the browser or system proxy settings. The log shows a node was selected, but the page times out? Try another node in the same group and keep the other settings unchanged. Change one thing at a time, then make the same request again to see what changed. For common UI issues, see the Help Center; for step-by-step diagnosis, see Troubleshooting.
After testing, leave the client in the intended Rule mode. If this was only a temporary test, turn off the system proxy managed by the desktop client before closing it. On mobile, tap Disconnect in the client. If you had manually configured a proxy before testing, restore the settings you noted earlier. Next time, just check the active profile, proxy group, and one real request; there's no need to import the same subscription again.