Clash Help Center

Troubleshoot configuration, system integration, and outbound routing—from subscription imports to connection failures.

Getting Started

What’s the difference between the Clash client and the mihomo core?

The client imports configurations, lets you choose proxy groups, and displays logs. The core parses configuration files, matches rules, and handles connections. Even when two clients both use mihomo, they may bundle different core versions or handle system proxy settings and overrides differently. If the same configuration starts in one client but fails in another, compare the core version and first parsing error in the runtime logs, then check whether the client supports the field in question.

What should I use now that Clash for Windows is no longer maintained?

On Windows, compare Clash Verge Rev and FlClash, checking the installer architecture, core, and proxy modes you need. To migrate, keep your existing configuration and import the subscription or local YAML into the new client. Review the old client’s overrides, ports, and startup settings one by one. Turn off the old client’s system proxy and quit it, then start the new client and make a fresh browser request. Check that the connection appears in the new client’s logs.

How do Rule, Global, and Direct modes work?

In Rule mode, rules are checked from top to bottom, and the first match determines the policy. MATCH is usually placed last as a catch-all. Global mode applies the global policy to connections handled by the core, making it useful for checking whether rules are sending traffic through the wrong route. Direct mode sends connections handled by the core straight out; it does not turn off the system proxy or TUN. After switching modes, test with a new connection—existing connections may continue using their original route.

What’s the difference between a subscription link, local YAML, and an override file?

A subscription link is a remote configuration source that the client downloads again on update. Local YAML is imported manually and usually needs to be reloaded after edits. Overrides are local changes the client applies to the original configuration, useful for custom rules or DNS settings. Don’t rely on the subscription cache for changes you need to keep. After updating, check the configuration preview or logs to make sure overrides still apply, especially rule order and proxy group names.

Platforms

Clash subscription expired or update failed: what should I check?

Start with the update log. For a 401 or 403, check your subscription access; for a 404, confirm the URL hasn’t changed. If the request times out, check whether your current network can reach the subscription provider. A successful download that isn’t recognized as a valid configuration may be a login or error page. Check your account status and client format on the provider’s site, then copy the link again and import it separately if needed. Keep the old configuration until the new one starts successfully, and never share your subscription link publicly.

How do I troubleshoot a parsing error after importing config.yaml?

Start with the first error in the logs and inspect the reported line plus a few lines above it. Use spaces for indentation, align list-item hyphens and sibling fields, and check for a space after each colon and properly quoted strings. If YAML parses but the core says a policy is missing, check whether the policy referenced in rules is defined in proxy-groups or is a built-in policy. Change one thing at a time, save, and reload to see whether the first error is gone.

TUN startup reports insufficient permissions. What should I do?

On Windows and macOS, check whether the client requires a companion service to be installed and running, then grant permission through the system prompt. On Linux, confirm that /dev/net/tun is available and that the service has the permissions needed to manage network interfaces and routes, such as CAP_NET_ADMIN. On Android, approve the system VPN request the first time you enable TUN. If it still fails, check whether the first error is about creating the interface or adding a route. Reinstalling the client repeatedly is unlikely to help.

A local Clash port is already in use. Which setting should I change?

Use the logs to confirm whether the conflict involves a proxy listening port or the controller port. mixed-port accepts both HTTP and SOCKS proxy connections; if manual proxy settings point to it, update the address and port in those settings too. If external-controller is in use, change the controller port or close the old instance occupying it—you don’t need to change the proxy port. Reload, confirm the port is listening, then test with a new connection.

Tips

How do I read Clash latency, and why isn’t it the same as internet speed?

A latency test measures how long a node takes to respond to a specific probe address; it doesn’t measure download throughput. A fast response from the probe doesn’t mean the node will take the same route to your target service. Compare nodes on the same network using the same probe address, and test several times to spot instability or intermittent timeouts. After choosing a node, test it against your actual target. This helps distinguish a slow initial page response from slow ongoing data transfer.

Why did rule matching change after a Clash GeoIP update?

A GeoIP data update can change how an IP address is classified. The same domain may also match different rules if DNS returns different addresses. Check the actual destination IP and matched rule in the connection details, then compare results before and after the update. To keep a domain on a specific route, place its domain rule before the GeoIP rule. Record the data source and update time so you can reproduce the difference later.

How can I tell which proxy group and node a connection used?

Open the connection details or runtime logs and check the request destination, matched rule, and policy chain. A rule may point to a proxy group that then selects another group or a specific node, so don’t rely only on the group name at the end of the rule. If the expected rule didn’t match, look above it for a broader match. If the client doesn’t show the request at all, first check whether the app uses the system proxy or TUN, then review the rules.

Why does an automatic proxy group switch nodes? Will it still switch after I pick one?

Check the group type first. url-test chooses a candidate based on probe results; tolerance helps prevent switching when latency differences are small. fallback usually selects the first available node in the list. Only a select group is intended for a fixed manual choice, and even then, selecting an automatic group means its underlying outbound can still change. Note the group name, probe address, and interval, then use a new connection to verify the actual outbound.

Troubleshooting

Clash system proxy is on, but why is an app still bypassing it?

In system settings, confirm that the proxy address and port are set and match the client’s listening port. Make a fresh request in a browser that respects the system proxy and see whether the connection appears in the client. If the browser works but the app has no connection record, check whether it uses its own proxy settings or ignores the system proxy. Configure a proxy in the app, or consider TUN if your device allows it. Don’t change routing rules first: requests that never reach the core can’t be matched.

A Windows browser works, but why can’t a UWP app connect to the local proxy?

Some UWP apps run in an AppContainer, where access to loopback addresses may be restricted. The browser may work while the app reports that it’s offline and the client shows no connection. First confirm the system proxy points to 127.0.0.1, and rule out sign-in or service issues within the app. If your device policy allows it, use the client’s loopback exemption feature for only the app packages that need it. Restart the app and test again. Loopback exemptions aren’t a general fix for node timeouts.

All Clash nodes time out. Is the problem with the nodes or my local network?

First check whether only the built-in probe is failing or actual requests are failing too. If every node times out only against the same probe address, try another working probe address to compare. If actual requests fail as well, check the first connection error: DNS resolution failure, connection timeout, or connection refused. Test the same node on another network you’re authorized to use, and note the time and error type. Change one condition at a time so a network change isn’t mistaken for a recovered node.

I can’t get online after closing Clash. How do I restore my connection?

Check whether the system proxy still points to the client’s local listening port. If the device normally connects directly, restart the client, turn off the system proxy and TUN in its interface, then quit normally. If your organization provided the proxy settings, restore the original configuration instead of clearing everything. If the issue persists, check whether another VPN is managing the network. Test DNS resolution and a new connection separately to identify where the problem lies.

Download Clash