FAQ / Configuration & Troubleshooting

Clash FAQs

From subscription imports to connection failures, troubleshoot settings, logs, and matched rules based on what you’re seeing.

BASICS

Basics

Start by understanding how the client, core, and traffic entry methods fit together.

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

The client provides subscription management, policy selection, and a log interface. The mihomo core parses configuration, matches rules, and establishes connections. A missing toggle in the interface doesn’t necessarily mean the core lacks support for that feature. Likewise, a client’s ability to import a file doesn’t mean the current core supports every field in it. When troubleshooting compatibility, note the client version and the version of the core actually running, then check whether that core supports the field in question.

How do Rule, Global, and Direct modes handle connections?

Rule mode checks connections against the configuration in order and applies the policy for the first matching rule. Global mode uses the current selection in the global policy group for connections entering the core. Direct mode sends connections entering the core straight to their destinations. Changing modes doesn’t automatically route traffic from every app through the core. To check whether a particular app is affected, start a new connection and confirm it appears in the connection list.

What are proxies, proxy groups, and subscriptions?

A proxy is a connection option, usually defined by a protocol, server address, and port. A proxy group organizes multiple proxies or other policies; rules typically refer to a group name rather than a specific server. A subscription is used to fetch and update configuration and may include proxies, proxy groups, and rules. If changing the selected proxy makes no difference, first check which group the connection actually uses, then check the proxy currently selected in that group.

What’s the difference between a system proxy and TUN?

A system proxy registers a local proxy address and port with the operating system. Usually, only apps that respect this setting will use it. TUN routes traffic through a virtual network interface; what it captures depends on routing, exclusions, and the client implementation. When setting things up, test one traffic entry method at a time rather than changing both at once. Otherwise, even if a connection works, it can be hard to tell which method the app used.

Why don’t I see any proxies after installing the client?

Installing a client and getting a proxy configuration are separate steps. First, make sure the subscription URL or local YAML file comes from a trusted source. Then import and select it on the client’s configuration page. A successful import only means the configuration was added to the list; an older one may still be active. If the proxy groups are still empty after you enable it, check whether the configuration depends on remote proxy providers and look in the logs for provider download failures or configuration parsing errors.

SETUP

Setup

Choose an installer for your system architecture. After importing a configuration, confirm which one is active.

How do I check my system architecture before downloading a client?

On Windows, go to Settings → System → About and check System type to distinguish x64 from ARM64. On macOS, open About This Mac to see whether it has an Intel processor or Apple silicon. On Linux, run uname -m: x86_64 usually indicates AMD64, while aarch64 indicates ARM64. After identifying your architecture, check the package format and minimum OS version too. The same architecture doesn’t mean every Linux distribution can install the same package.

How can I confirm the new configuration is active after importing a subscription?

Find the imported entry on the configuration page, enable or switch to it, and confirm the active configuration name has changed. Then open the proxy page and check that the proxy groups match the new configuration. Finally, make a new request and check its matched rule and outbound policy in the connection details. If the old configuration still appears active, check the logs for parsing errors; some clients keep the last working configuration when loading fails.

What should I do if TUN reports insufficient permissions?

Check the logs first to tell whether virtual network interface creation or route setup failed. On desktop, check whether the client requires a service component to be installed and running, then grant permissions as described in the client documentation. On mobile, check whether the system prompted you to authorize the VPN connection, and make sure another VPN app isn’t already using it. After enabling TUN again, check whether the same error appears. On managed devices, ask an administrator whether virtual network interfaces are allowed.

What should I check first when importing a local YAML file fails?

Start with the line number in the error message, then check the line above it. A missing colon, misaligned list item, or tab character in the indentation can cause an error to appear on the following line. If the syntax looks correct, check that proxy group names exactly match the names used in rules and that the current core supports the fields. Keep the original file and change one thing at a time before reloading. Don’t let an auto-formatter overwrite the original until you’ve confirmed the edited file works.

Do I need to turn the proxy back on after enabling startup launch?

Startup launch usually only opens the client after you sign in. Whether it restores the previous system proxy, TUN, or configuration depends on the client’s restore options and system permissions. After restarting and signing in, confirm the client is running and the correct configuration is active. Then check the system proxy setting or TUN status and make a new request to verify. If the window opens but the proxy isn’t restored, check the relevant settings and service startup logs.

WORKFLOW

Usage Tips

After refreshing a subscription or changing rules, test with a new connection. Existing connections may still use the previous policy.

Does the lowest-latency proxy always deliver the fastest speeds?

A latency test measures how quickly a proxy responds to a specific test address. It doesn’t measure bandwidth or represent the route to every website. For a fair comparison, use the same test address and network, avoid testing right after switching networks, and make several new requests to the websites or apps you actually use. If latency is low but transfers keep dropping, compare connection logs with real-world performance rather than choosing based on one reading.

Will automatic subscription updates keep my manual changes?

Edits made directly to a local copy of a remotely downloaded subscription may be overwritten the next time it refreshes. If the client supports overrides or additional rules, keep custom content in a separate layer and check the order in which it’s applied. Otherwise, maintain a separate local copy. The client’s full subscription refresh interval and the interval in proxy-providers control different things. The latter is usually measured in seconds and controls how often that proxy provider updates.

How can I tell which routing rule matched a domain?

Switch to Rule mode, close the app’s existing connections or restart it, then visit the domain again. In the connection details, check the destination, matched rule, and outbound policy. If the connection matches MATCH, check that more specific rules appear before it and that the rule set loaded successfully. A page loading normally isn’t enough to verify this: it may request the main domain, resource domains, and login endpoints separately.

Why didn’t updating GeoIP change the routing result?

First, check the connection details to confirm the request actually matched GEOIP. Rules are evaluated from top to bottom, so an earlier domain rule or rule set may have matched first; updating GeoIP won’t change that connection’s result. If it did match GEOIP, confirm the running core has loaded the updated data, then test with a new connection. Record the destination address when comparing results so you don’t mistake connections to different resolved addresses for the same test.

Why can’t I access my printer or NAS with TUN enabled?

Try accessing the device directly using its local network address and compare the result with TUN turned off. If access works when TUN is off, check whether the virtual interface route is capturing that local network range, and exclude only the necessary range as described in the client documentation. If the address works but the device name doesn’t, check local name resolution or device discovery separately. Test connectivity and name resolution independently; there’s no need to switch all your rules to Direct.

DIAGNOSTICS

Troubleshooting

Choose a question based on the symptoms. Note the first error before changing settings so you can compare the results.

How can I tell whether a failed subscription update is due to an expired link or a network issue?

Check the status code in the update log first. For 401 or 403 errors, check your account with the subscription provider to confirm your access and whether the URL has changed. For 404, make sure the URL is complete and the endpoint still exists. If the request times out, check whether your current network can reach the subscription domain. For certificate errors, check the system time. If the download succeeds but parsing fails, check whether the response is a login page or an error page. Don’t post the full subscription URL publicly.

All proxy tests are timing out. Where should I start?

First confirm the device has internet access and the client has loaded the expected configuration, then retest with a trusted, working test address. If every proxy still times out, check the logs to see whether the issue is DNS resolution, a connection timeout, or a handshake failure. Check DNS, connectivity to the server, and protocol settings accordingly. If only the speed test fails but real-world access works, investigate the test address before replacing proxies one by one.

Why is an app connecting directly even though the system proxy is on?

Check that the address and port registered with the system match the client’s HTTP or mixed-proxy listener, and rule out a stale port left behind after a failed startup. Then make a new request in a browser that follows system proxy settings and check whether it appears in the client’s connection list. If the browser appears but the target app doesn’t, check whether the app has its own proxy settings, is on the system bypass list, or is reusing a connection opened before the proxy changed.

Why can my browser connect, but Windows UWP apps can’t?

When the system proxy points to 127.0.0.1, some apps running in an AppContainer can be blocked from connecting to the local proxy by Windows loopback restrictions. First confirm the browser can use the same port, then check whether requests from the affected app reach the client. If loopback restrictions are the cause and device policy allows it, use the client’s loopback settings for the specific app and restart it to test. Don’t enable loopback access for every app at once.

The local port is already in use. What should I do after changing it?

Check the logs to see whether the error concerns the mixed-proxy port or the control interface port, then use your system’s port inspection tool to identify the process using it. Don’t terminate a process if you don’t know what it does. Instead, choose another available port in the client, save the change, and restart the core. If you changed the proxy port, update the proxy address in the system and apps. If you changed the control port, update the dashboard connection settings. Finally, check the logs for any remaining listener errors.