Clash Beginner’s Guide: Subscriptions, Rule Mode, and System Proxy Explained

New to Clash? Learn the difference between subscriptions and configs, when to use Rule or Global mode, and why some apps bypass the proxy. Get clear answers to 10 common questions.

1. What’s the difference between a subscription URL and a Clash config file?

A subscription URL is an address for retrieving content; a config file is the content the client actually reads. A Clash YAML config can include proxies (proxies), proxy groups (proxy-groups), and rules (rules). It can also reference separately maintained proxy lists through proxy-providers. A subscription containing only proxies is not a complete config. And just because a link opens in your browser doesn’t mean the client can parse its response.

In your provider’s dashboard, look for a config link explicitly labeled “Clash” or “Mihomo” that’s compatible with your client. If you have a local .yaml file, import it from the file import option under “Configuration.” Subscription URLs often contain access tokens, so don’t share the full address in screenshots, group chats, or support tickets.

2. The subscription imported successfully. Why doesn’t it work yet?

Importing only means the client has saved the config. Next, the core needs to load it, you need to select an outbound policy, and your app’s traffic needs to reach the client. For example, in the desktop app Clash Verge Rev, check these steps in order. Button labels may vary slightly by version.

  1. Open “Subscriptions” and make sure the entry is selected as the current config. Seeing a recent update time doesn’t mean the config has been activated.
  2. Open “Proxies” and select an available node in a group used by your rules. The policy group may not be named Proxy; check the group names in your config.
  3. On desktop, enable “System Proxy” and make a new request in your browser. On iPhone, tap Connect in the client and follow the prompts to authorize adding a VPN configuration. On either device, check the connection log to confirm traffic is reaching the client.

If the update fails, start by checking the exact error. 401 or 403 means the server rejected the request; check the link’s permissions, expiration, or provider restrictions. If the error mentions YAML parsing, make sure you didn’t copy an account dashboard URL or a subscription format intended for another client.

3. When should I use Rule, Global, or Direct mode?

  • Rule: The best choice for everyday use. Connections that reach the core are matched against rules from top to bottom. The first matching rule determines whether traffic goes direct, is rejected, or is sent to a policy group.
  • Global: Routes all connections that reach the core through the outbound selected by the global policy. Use it for quick troubleshooting: if the same request works in Global mode but not Rule mode, check which rule matches and which option is selected in the policy group.
  • Direct: Sends connections that reach the core directly. Useful for checking whether a problem only occurs with proxy routing, but it doesn’t turn off the system proxy or disconnect a VPN.

4. In what order are rules matched? Why is a site going direct?

Rules are usually matched from top to bottom, and the first match determines the policy. This is only a rule snippet: Proxy must be the name of a policy group in your config. Don’t import these lines as a complete config.

rules:
  - DOMAIN,api.example.com,Proxy
  - DOMAIN-SUFFIX,example.com,DIRECT
  - MATCH,Proxy

If the core sees api.example.com as the destination domain, the first rule takes priority. A subdomain such as www.example.com matches the second rule. Swap the two rules, and api.example.com will match the suffix rule first. MATCH is the fallback rule; placing it earlier will prevent later rules from taking effect. A single page load may also contact multiple domains. When troubleshooting, check the actual destination and matching rule under “Connections,” not just the address bar.

5. What does the System Proxy switch change on macOS?

It tells apps that honor system proxy settings to send requests to a local proxy port, where the core decides how to route them. To check the current Wi-Fi service settings on macOS, go to “System Settings” → “Network” → “Wi-Fi” → “Details” → “Proxies.” For a wired connection, check the relevant Ethernet service instead. Which proxy options are selected depends on how the client configures them.

For example, if the client listens on the mixed port 127.0.0.1:7890, the app needs to use that same address and port. 7890 is only an example; it isn’t a universal client setting. If the client log shows address already in use, check whether another proxy app is using the configured port. Close the duplicate instance or change the port, then re-enable the system proxy so both settings match.

6. Why does the browser work, but the terminal or another app bypass the proxy?

One app using the system proxy doesn’t mean every app will. Open “Connections” in the client, then make another request from the app that’s having trouble. If the connection appears, check the matching rule and outbound policy. If it doesn’t, check the app’s own network settings before changing nodes. Existing long-lived connections may keep using their previous route, so disconnect and retry if needed.

You can test the terminal with a one-off request that explicitly uses the proxy. The port below is an example; replace it with the actual HTTP or mixed port on your device before running the command:

curl --proxy http://127.0.0.1:7890 --max-time 10 --head https://example.com/

An HTTP response only confirms that this request succeeded. It doesn’t mean other programs are automatically using the proxy, or that this request went through a proxy node. To confirm whether it used a node or DIRECT, check the client’s connection log.

7. Is desktop TUN mode the same as the VPN switch on iPhone?

Desktop TUN and the VPN configuration on iPhone both route traffic at the network layer, but you enable them in different places. With TUN enabled, the desktop client uses a virtual network interface and routing settings to receive traffic, including from some apps that ignore system proxy settings. Whether specific traffic is captured also depends on route exclusions, DNS settings, operating system permissions, and whether the outbound protocol supports traffic such as UDP.

On iPhone, clients that support this setup typically use an iOS network extension to handle traffic. The first time you connect, follow the prompts to add a VPN configuration. You can review the selected configuration and connection status under “Settings” → “General” → “VPN & Device Management” → “VPN.” A Connected status only means the tunnel is up. Check the client to see whether the policy group can route traffic and which rule matched the app’s request.

8. Why can’t I open a website even though the latency test shows a result?

A latency test only shows how a node responded to a test address at that moment. A policy group may use its own test URL, which may resolve differently or use a different network route from the site you’re trying to reach, and may be subject to different server restrictions. A test result doesn’t guarantee the site is reachable or that download speeds will be fast. Likewise, a timeout alone doesn’t prove the node is completely unusable.

  1. Reload the site and check the connection log to see which policy group and node handled the actual destination domain.
  2. On the same device and network, try the same address again after changing only the node in that policy group.
  3. If it still fails with a different node, check the specific error: for DNS resolution failures, check DNS; for connection timeouts, check the route. If you get an HTTP status code, first determine whether it came from the proxy or the destination server.

9. Are configs interchangeable between Clash, Clash Meta, and Mihomo?

Clash Meta later adopted the name Mihomo. The client interface and the core it runs are separate layers: seeing “Clash” in an app’s name doesn’t mean it supports every Mihomo config field. For example, if a subscription includes a node with type: hysteria2, the original Clash core in older versions can’t support that protocol just by changing the node’s name. If you see an error such as “unsupported proxy type,” check the actual core and version under “About” or “Core” in the client, then verify the subscription format.

Updates are two different things: updating a subscription fetches the config again, while updating the client or core may change which protocols are supported. Refreshing a remote subscription may overwrite direct edits. To keep custom rules, use the client’s supported override feature or save and maintain a local config separately. A local copy won’t update automatically with the original subscription.

10. No internet after quitting the client. How do I restore it?

Restore your previous network settings before troubleshooting the proxy. On desktop, if requests are still being sent to a local port that is no longer listening, your browser may be unable to load pages after you quit the client.

  • Mac: If you can still open the client, turn off “System Proxy” and any enabled TUN mode before quitting normally. Otherwise, go to “System Settings” → “Network” → your current network service → “Details” → “Proxies” and remove only the proxy settings left by the client. Keep any settings required by your workplace or school.
  • Windows 11: Go to “Settings” → “Network & internet” → “Proxy” and check whether “Use a proxy server” under “Manual proxy setup” still points to your local machine. If you had an organization-managed proxy or setup script, restore the original settings instead of clearing everything.
  • iPhone: Disconnect in the client first, then check the system “VPN” page to confirm it’s disconnected. If it reconnects right away, check whether “Connect On Demand” is enabled for that configuration. Contact your administrator about managed VPN configurations.

Once your network is restored, test one traffic-capture option at a time. On desktop, start with Rule mode and System Proxy to test your browser, then test TUN separately. This makes it easier to tell whether traffic is reaching the client without also re-importing subscriptions, changing ports, and editing DNS settings.

Download Clash