Getting Started · First Connection
Clash Getting Started
From importing a subscription to checking egress. Start by routing one browser request according to your configuration, then connect other apps.
Before you begin, get a subscription URL compatible with your client or a local YAML configuration. If the configuration is valid and your network is working, you can complete this four-step connection check in about 10 minutes.
Step 01 · Configuration
Import a subscription
Launch the client and select “Profiles” in the sidebar. Paste the Clash- or mihomo-compatible subscription URL from your provider into the import field, click “Import,” and wait for the new profile to appear. If you received a YAML file saved on your device, use the local import option on the Profiles page and select the file. A provider may offer a general sharing link, an account management page, and a client subscription URL. A link that opens in your browser is not necessarily a subscription URL; use the one identified by the provider as compatible with Clash or mihomo.
When the profile appears in the list, select it and confirm the active indicator moves from the previous profile to the new one. Importing only confirms that the client received the configuration; if you haven’t switched profiles, Proxies may still show the old groups and nodes. Next, open Proxies and check that the expected policy groups appear. Expand a group to confirm it has selectable options. Group names depend on the configuration and may differ from screenshots or other clients. If you see only DIRECT, first check the selected profile. Some local configurations contain only direct rules and can’t be used to verify proxy egress in the steps below.
Import failed? Check the source first
If the client reports a download timeout, first confirm that other websites load on your current network. Then check whether the subscription URL was copied across two lines or includes extra spaces. If the client reports a format error, return to the provider’s page and select the format for your client. A sign-in page, account management page, or error page may be returned instead of a configuration, but none can be loaded as YAML. Fix the import issue first; there’s no need to change the system proxy or connection mode until the configuration is ready.
Subscription URLs may contain account-specific access tokens. Hide the address bar and import field in screenshots, and never post the full URL in a discussion forum. For general error guidance, see Frequently Asked Questions. Once the profile is selected and you can expand a group in Proxies, continue to the next step. You don’t need to edit rule files yet.
Step 02 · Routing
Choose proxy mode
Open Proxies, select “Rule” in the mode switcher, and confirm that it’s highlighted. Rule mode evaluates requests against the configuration in order and uses the egress specified by the first matching rule. A rule can send traffic DIRECT, route it through a proxy group, or REJECT it. So even if a browser request reaches the client, that doesn’t mean it was forwarded through a proxy node. For your first test, keep the subscription’s rules unchanged so you can match the results in the Connections panel.
“Global” sends requests that reach the client to the selected global egress, so check which egress is selected. “Direct” sends requests that reach the client straight out. Neither mode changes how the system or apps send traffic to the client. For example, switching to Global won’t send browser requests to the Connections list if the browser isn’t using the system proxy. Keep Rule mode for your first test to avoid changing both the traffic entry point and the egress policy at once.
Choose an egress you can test again
Check the configuration notes to find a test site that should use a proxy, then identify the policy group that handles those requests. Expand that group under Proxies. If manual selection is available, choose a node, confirm it’s selected, and note the group and node names. If an option points to another group, check the selection in that nested group too. The outer group name often describes its purpose, not the node that actually makes the connection. If the group uses automatic selection, don’t change its type; check the egress shown in the connection record instead.
If the client offers a latency test, run it once to rule out options that repeatedly time out. The result only reflects the response to that test address at that moment; it doesn’t guarantee that a website will load. Before continuing, note which site should use a proxy and which group should handle its traffic. For explanations of rule priority and policy groups, see the glossary.
Step 03 · Traffic entry point
Connect
In Clash Verge Rev for desktop, open Settings, find “System Proxy,” and turn it on. If this version puts the switch on the main screen or in the tray menu, use the same setting there. Leave it on during the test. Keep “TUN Mode” off for now and test only apps that follow the system proxy settings. The system proxy provides a local proxy endpoint for apps to use; TUN routes traffic through a virtual network interface. They’re separate entry points, and you don’t need to enable both to test a browser.
Next, make a new request in a browser that follows the system proxy settings. If the browser has its own proxy setting, make sure it uses the system proxy—not a direct connection or another local port. If another client on the same device may be changing proxy settings, pause the conflicting client if you’re authorized to do so, then check the switch again. Don’t change network settings managed by your organization or school. Keep a note of the original settings so you can restore them after the test.
Start the connection from the mobile client
In the Android or iOS client, check that the right profile is selected, then tap “Start” or “Connect.” The first time you connect, the system may ask to allow a VPN connection or add a VPN configuration. Confirm the prompt was triggered by the client you just used, then follow the system instructions. Return to the client and check that it still shows as connected. If it quickly disconnects, read the error message before trying again; there’s no need to switch back and forth between Rule and Global modes.
On any platform, “enabled” or “connected” only describes the traffic entry point. It doesn’t tell you which node a particular site uses. Keep the current profile and mode unchanged, open the Connections panel, and make another browser request. If the switch won’t stay on or system proxy settings are controlled by a management policy, see the troubleshooting guide for system proxy or mobile connection issues.
Step 04 · Check the results
Verify it’s working
Open the client’s Connections panel, then visit the test site you chose in Step 02. Find the new entry by domain and request time. If the page uses multiple domains, check the site’s domain in the address bar first, not image or analytics requests. If there’s no new entry, force-refresh the page to send another request. The Connections panel may show only active connections, and short-lived requests disappear quickly. If needed, watch the panel while refreshing or search the client’s request logs for the same time.
Once you find the entry, check the matched rule first, then the policy group or egress chain, and finally confirm the actual node matches your expectation. The proxy connection is verified only when the page loads and the actual egress is as expected. If your configuration also has destinations that should go DIRECT, visit one in a new request and check that its record shows DIRECT. Different domains on the same page may match direct and proxy rules; checking each record is more reliable than judging by whether the page loads.
Separate entry-point issues from egress issues
If the browser loads the page but there’s no matching record, check whether it’s using the system proxy and whether you’re seeing cached content. If a record appears but shows DIRECT, review the rule and policy group; reinstalling the client isn’t necessary. If the record uses the expected node but the page fails, try another option in the same group with the same URL. Keep the mode and configuration unchanged so you can tell whether the node made a difference. An IP lookup site can provide extra information, but it only shows the route taken by that lookup request; it doesn’t verify the route to your test site.
If the test fails, note which step failed, the client and OS versions, the error message, and the matched rule and egress shown in the connection record. Use those details to find the right section in the troubleshooting guide. Remove subscription URLs and account details before sharing logs. If you’re done testing for now, turn off the system proxy before quitting the desktop client, or tap “Disconnect” in the mobile client. Restore any device proxy settings you changed using your notes from before the test.