Help Center / FAQ
Clash FAQ
Find out how to import subscriptions, route traffic with rules, and configure system-level traffic handling. If you’re already seeing connection issues, go straight to Troubleshooting and start with the error or affected app.
Index / 01
Getting Started
Cores, configurations, and traffic handling.
What’s the difference between a Clash client and the mihomo core?
A client provides the interface for managing profiles, proxy groups, connection logs, and system integration. In clients that use mihomo, the core parses the configuration, matches rules, and establishes connections. When troubleshooting, check the client’s documentation for installation, updates, or permission prompts; for field errors or protocol compatibility, verify the version of the core actually running. When using the same YAML file in a different client, also check whether overrides have changed the active configuration.
What are subscription URLs, proxies, and proxy groups?
A subscription URL fetches a remote configuration, which may include proxies, proxy groups, and rules—or just proxies. A proxy is a specific connection profile. A proxy group selects among candidates, either manually or through automatic testing. After importing, make sure the profile is enabled, then expand the proxy groups referenced by your rules and check which proxy or nested group is selected.
Which mode should I use: Rule, Global, or Direct?
Rule mode is usually best for everyday use: the core matches destinations against rules in order and decides whether to proxy or connect directly. Global mode is useful for briefly checking whether a particular proxy works; before testing, verify the proxy selected in the global group. Direct mode sends connections handled by the core straight through, making it useful for comparison. These modes only control how the core handles connections it receives. Whether app traffic reaches it depends on the system proxy, app settings, or TUN.
Do Clash clients include a subscription or free proxies?
A client installer and a proxy service are separate things. After installing a client, you can import a YAML configuration you maintain yourself or use a subscription from a service provider. Avoid sending account, payment, or other sensitive information through public proxies from unknown sources. Treat subscription URLs like credentials: hide the full URL and query parameters before sharing screenshots, logs, or configuration files. If a URL has been exposed, reset it through the provider’s dashboard.
What’s the difference between system proxy and TUN traffic handling?
The system proxy is mainly used by apps that honor the operating system’s proxy settings, so it’s a good starting point for testing browsers and other common apps. TUN routes traffic through a virtual network interface and can handle some apps that ignore system proxy settings. Its actual coverage depends on the platform, routing, exclusions, and permissions. When troubleshooting, establish a baseline with one method first. Check whether the target app’s connection appears in the logs before switching methods.
Index / 02
Installation & Setup
Installers, subscriptions, and listening ports.
How do I check my OS and processor architecture before installing?
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 you have Apple silicon or an Intel processor. On Linux, run uname -m to check the architecture, then choose the package format for your distribution. Check the supported OS and installer on the client downloads page. If only a package for another architecture is available, first check whether the project supports compatibility modes.
How do I import a subscription and make sure the new profile is active?
In the client’s Profile or Subscription page, choose the option to import from a URL, paste the Clash or mihomo subscription URL from your provider, save it, and trigger an update. After the update succeeds, select and apply the profile in the profile list, then check that its proxy groups match the new configuration. If parsing fails, verify the subscription format and check the first error in the logs. A web share link or login page is not the same as a configuration subscription URL.
What should I do if TUN reports insufficient permissions?
Check the client’s instructions for TUN or service mode to see whether your system requires an auxiliary service, administrator approval, or system VPN permission. Use the authorization option provided by a trusted installer, then restart TUN and check the logs to confirm that the virtual interface and routes were created successfully. If your organization-managed device explicitly blocks this permission, contact your administrator. If you only need to handle apps that support system proxy settings, try the system proxy instead.
How can I keep local changes when a subscription updates?
Remote updates usually replace the subscription file, so rules added directly to a subscription copy may be lost. If the client supports configuration merging, overrides, or rule extensions, keep local changes in a separate layer and note the order in which layers are applied. If overrides aren’t supported, back up the profile and save a local copy, then merge subscription changes manually. After each update, check the matched rule and final proxy using a known destination.
Which port should I use for the system proxy? Can I use the external controller port?
Check the active configuration for mixed-port or port, then compare it with the listening address shown in the client and startup logs. mixed-port accepts both HTTP and SOCKS connections; port is the HTTP proxy port. The external controller port is for the management API, not proxy traffic. If you’ve changed the listening port manually, update the system settings and any proxy addresses configured separately in apps such as browsers and terminals.
Index / 03
Usage Tips
Check exit routes, traffic rules, and DNS resolution.
Why are downloads slow even when a proxy has the lowest latency?
A latency test usually measures a brief request to a specific address. It doesn’t directly measure sustained throughput, packet loss, or the route quality to the site you’re downloading from. On the same device and network, compare two proxies using the same file, avoiding cached downloads and background traffic where possible. Then check the connection logs to confirm the download actually used the selected proxy. If only one site is slow, compare it with another trusted destination to distinguish site throttling from a congested exit.
How can I check whether a rule matched as expected?
Make sure the client is in Rule mode. Close existing connections in the target app, send a new request, and check the connection list for the destination domain or IP, matched rule, and selected policy. Rules are generally evaluated from top to bottom, so a broad rule near the top may override exceptions below it. Put specific rules before broader ones. Save and reload the configuration, then test the same destination again.
How can I tell if an app is bypassing the expected DNS settings?
Note the current proxy mode and DNS configuration, then make a new request to a known domain. Compare the app’s DNS settings, system resolver settings, and client logs. A browser’s Secure DNS feature or an app’s built-in resolver may bypass the system resolver; the exit IP shown by a website alone can’t confirm the DNS path. Change one setting at a time—for example, temporarily replace the browser’s custom upstream with the system resolver—and repeat the same test.
Can I use the same YAML configuration on my phone and computer?
Proxies, proxy groups, and rules can usually be reused if the core supports the same syntax. Local file paths, listening ports, virtual network interface names, and permissions need to be checked for each device. Start by importing a minimal working configuration on the new device and verifying proxy groups and basic connectivity. Then add overrides and device-specific settings one at a time. If the configuration references local rule files, make sure the client can access their paths and check the startup logs for loading errors.
What should I do if I can’t reach a LAN printer with TUN enabled?
Turn off TUN as a comparison, then try connecting directly to the printer’s LAN address. If that works, check whether TUN’s route exclusions cover the printer’s subnet and whether the network has client isolation enabled. If the printer connects by IP but doesn’t appear in the device list, check LAN discovery traffic separately. Add exceptions only for networks you trust, then test both printing and regular web access.
Index / 04
Troubleshooting
Update failures, timeouts, and loopback restrictions.
What should I check if a subscription expires or an update returns 401 or 403?
First distinguish a network timeout from an HTTP status returned by the server. For a 401 or 403, check your account status, subscription expiry, and whether the URL has been reset in your provider’s dashboard. Copy the current URL again if needed. Some gateways can also return 403, so check where the error originated. If the update succeeds but parsing fails, make sure the response is the expected configuration—not a login or error page. Keep the old profile for comparison rather than deleting an entry that may still work.
All proxies time out. Where should I start troubleshooting?
Turn off the system proxy and TUN, confirm your local network can reach a known working site, and check that your system date and time are correct. Then verify that the subscription is still valid, check whether the latency-test URL responds, and try accessing a site through one proxy. If the test times out but browsing works, check the test URL and timeout settings first. If both fail, use the logs to identify whether the issue is DNS resolution, connection setup, TLS negotiation, or another stage.
Why is an app connecting directly even though the Windows system proxy is on?
In Windows, open Settings → Network & Internet → Proxy and check that the settings point to the address and port the client is actually listening on. Also check whether the destination is on the bypass list. Fully close and reopen the app, then watch the client logs for a new request. If your browser uses the proxy but the app generates no new connections, check the app’s own proxy settings. If it doesn’t use the system proxy, consider whether TUN is appropriate.
Why does a regular browser use the proxy while some UWP apps can’t connect?
First confirm that the affected app runs as a UWP or AppContainer app, then try accessing the local loopback address the client is listening on. Some apps are restricted by Windows loopback isolation and can’t connect to a proxy on 127.0.0.1. If the client offers UWP loopback management, follow its instructions to enable an exception only for the apps that need it, using administrator privileges. Restart the app and check the connection logs. Remove the exception when it’s no longer needed.
How do I restore my connection if websites stop loading after I close the client?
If the system still points to the client’s local listening port after the client has exited, apps may be unable to reach the proxy. If possible, reopen the client, turn off the system proxy and TUN in its interface, then exit normally. If you can’t reopen it, restore the previous proxy settings in the system settings and check for separate proxy settings in your browser. If your work network normally uses a proxy script or manual proxy, restore those original values rather than clearing everything.