Installation, Setup & Troubleshooting

Clash FAQ

New to Clash? Start with choosing an installer and importing a subscription. If the client opens but won’t connect, first determine whether the subscription failed to update, traffic isn’t reaching the core, or the proxy route is timing out.

Basics

Understand the client, core, and traffic interception methods before changing settings.

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

The client displays configurations, proxy groups, and connection logs, and may also install system services. The core reads rules, decides which outbound route a connection should use, and connects to proxy servers. mihomo is a core that continues the work of Clash Meta. Even when two clients use the same core, their settings and bundled core versions may differ. If a configuration field isn’t recognized, check the About page or startup logs to confirm which core is actually running, then consult the technical reference. Don’t infer compatibility from the app’s name alone.

What are subscriptions, configuration files, and proxies?

A proxy is the server address, protocol, and authentication details needed for a proxy connection. A configuration file can contain multiple proxies, along with proxy groups, routing rules, and DNS settings. A subscription is usually a URL used to retrieve and update this information. After importing a subscription, you still need to make its configuration active; a successful refresh doesn’t switch to it automatically. Subscription URLs may contain access credentials. When troubleshooting, note only the error type shown by the client—never post the full URL, configuration file, or QR code in a public forum.

When should you use Rule, Global, or Direct mode?

Rule mode is usually best for everyday use: the configuration matches domains or addresses in order, then selects an outbound route. Global mode sends traffic handled by the core to the global proxy group, making it useful for brief comparison tests. If that group is set to Direct, traffic won’t use a remote proxy. Direct mode sends connections handled by the core straight to their destinations, but it doesn’t turn off the system proxy or TUN. To check whether traffic interception is causing an issue, disable the relevant interception setting rather than simply switching to Direct.

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

The system proxy sets a local proxy address and port in your system settings. It generally works only with apps that honor those settings. TUN uses a virtual network interface to capture traffic that matches its routing rules, which can help when an app doesn’t use the system proxy. Its scope still depends on the operating system, routes, and exclusions. For an initial setup, use the system proxy to verify the core and proxies, then test TUN if needed. When troubleshooting, enable only one traffic interception method at a time so you can tell whether traffic is failing to reach the core or reaching it but failing to connect.

Read the protocol and core technical reference

Setup

Start by choosing the right installer, then use new entries in the connection log to verify your initial setup.

How do you choose a Clash installer for your operating system and processor?

Open your system’s About page to check the OS version and processor architecture. On Windows, x64 usually means AMD64; don’t confuse it with ARM64. For macOS, check whether your Mac has an Intel or Apple chip. On Android, choose a package that matches an ABI supported by your OS—a newer chip doesn’t mean the system supports every architecture. On Linux, check the package format used by your distribution; Debian-based distros commonly use deb packages. Review the available options on the download page before installing. If there’s no package for your architecture, choose a client that supports your device.

After importing a subscription for the first time, how can you confirm it’s active?

Open the client’s subscription or configuration page and use the add option to paste the Clash-compatible URL from your provider. Once it refreshes, open the configuration and check that it contains the expected proxy groups and rules, then set it as the active configuration. Return to the proxy groups, select a proxy, and enable one traffic interception method. Make a new browser request, then check the connection log for the destination domain, matched rule, and actual outbound route. If the configuration appears in the list but there are no connection records, check the interception settings instead of importing the same URL again.

What should you do if TUN mode reports insufficient permissions?

On desktop, first check whether the client offers a system service or service mode. If it does, use the client’s own controls to install or start the service, grant the required system permission, and try enabling TUN again. You generally don’t need to run the entire graphical app as an administrator. On mobile, approve the VPN permission in the system prompt. If another VPN is already active, disconnect it and try again. Organization-managed devices may block this permission; follow your administrator’s process. If it still fails, check the first driver, service, or permission error in the logs.

What should you check if importing a subscription returns a YAML parsing error?

First confirm that your provider supplies a Clash configuration the client can read—not a login page, a generic proxy list, or a format intended for another client. If you edited the file locally, use the line number in the log to inspect the error line and the one above it, especially indentation, list hyphens, and spaces after colons. If the log says a field isn’t supported, check the configuration format and core compatibility instead of repeatedly changing indentation. Keep a working copy before editing. When reporting the issue, include a minimal example without URLs or credentials.

Browse installers by operating system · Read the getting-started guide

Tips

Use connection logs to verify routing and real-world tests to compare proxies.

How can you tell which proxy route a website is actually using?

Keep Rule mode enabled, open the client’s connection log, and visit the site in your browser. Find the new entry by destination domain. Check the matched rule first, then the proxy group it points to and the outbound route actually selected—these are separate details. After changing proxy groups, your browser may reuse an existing connection. If needed, close the relevant tabs and connections, then visit the site again. If no new entry appears, check whether the browser is using the active traffic interception method before changing any rules.

Why isn’t the proxy with the lowest latency always the fastest?

A client’s latency test usually sends a request through a proxy to a specific test URL. The result depends on the test method, connection setup, and how quickly that URL responds. It doesn’t measure large-file transfer speeds or predict how other sites will perform. To compare proxies, use the same test URL and timeout, then try the service you actually need on the same network. Compare several page loads and sustained transfers. If test results are consistent but real-world performance varies, check whether your traffic is using the same outbound route.

How can you keep custom rules when updating a subscription?

Changes made directly to a downloaded subscription file may be overwritten at the next refresh. Check whether the client supports local overrides, rule additions, or configuration merging, and keep custom entries in a separate configuration. If it doesn’t, you can save a local copy, but its proxies won’t update automatically with the remote subscription. Rules are matched in order, so put specific domain rules before broader rules that would otherwise match first—not after the catch-all rule. After updating, revisit the destination and check the connection log to confirm the expected rule matched.

How do you let devices on the same local network use a proxy?

Enable Allow LAN connections only on a trusted local network. On the other device, enter the LAN address of the computer running the client—not 127.0.0.1, which points back to the device itself. Choose an HTTP port that matches the device’s proxy type, or a mixed port explicitly marked as supporting HTTP. If the connection fails, check that the devices can reach each other and that the firewall allows the port on the current network. Don’t expose a local proxy port to the public internet. Turn off LAN access when you’re done.

Learn more about proxy latency tests

Troubleshooting

First determine whether the issue affects all devices and proxies, or just one app or connection.

How can you tell why a subscription stopped working or failed to update?

Check the update log for an HTTP status. For 401 or 403, check your account, plan, and whether the subscription URL was reset on your provider’s site; don’t assume the subscription has expired based on the status code alone. For 404, check whether the URL has changed. If the log shows only a parsing error, connection timeout, or certificate error, the request may not have retrieved valid content. Check DNS, network connectivity, and system time as appropriate. Keep any working configuration instead of deleting it. Switch to the new subscription only after it loads the expected proxy groups.

Clash proxy timeout: how can you tell whether one proxy or the whole group is failing?

Select another known-working proxy in the same group and retry with the same test URL. If only one proxy times out, check whether it’s still in the active subscription and whether the core supports its protocol. If several proxies time out at once, confirm the core is running and check the logs for shared DNS or handshake errors. Then compare results using another trusted test URL. If the test times out but the service works, the test URL itself may be the problem. Change one setting at a time so you can tell what made a difference.

Why isn’t an app using Clash when the system proxy is enabled?

First, confirm in your system’s network settings that the proxy address and port are set and match the client’s active HTTP or mixed listening port. Then open a new page in a browser that follows the system proxy and check whether the core logs the connection. If the browser works but the app doesn’t connect, check the app’s own proxy settings and the system proxy bypass list. Some apps don’t use the system proxy. If the browser also fails, check that the core is running and that another process hasn’t occupied the port. Don’t change the subscription or proxies first.

What if only UWP apps can’t connect to a local proxy on Windows?

If a desktop browser works but a UWP app fails with the system proxy enabled, and the proxy address points to the local loopback address, first confirm that the app runs in an app container. App container loopback restrictions may prevent it from connecting to a local proxy port. If the client provides a loopback exemption manager, add an exception only for the confirmed app, and only on a device where you have administrative permission. Restart the app and test again. Don’t add exceptions for every app. If it still fails, check whether the app uses the system proxy or ask your device administrator about applicable policies.

View the startup crash troubleshooting checklist