Clash / mihomo
Clash FAQ
Troubleshoot subscription imports, routing rules, system proxy settings, and TUN. Find issues by setup stage, then open a question to check the relevant settings.
What’s the difference between Clash, mihomo, and Clash Verge Rev?
Clash is the name of the original proxy core, and in everyday use it can also refer to the ecosystem of clients that use similar configuration syntax. mihomo is a core derived from Clash Meta. It parses configuration, matches rules, and establishes outbound connections. Clash Verge Rev is a graphical client for managing subscriptions, choosing proxy groups, and viewing connection logs. If you can’t find a menu, check the client’s documentation. If a configuration field isn’t recognized, verify which core is running and its version.
What’s the difference between a subscription URL, a configuration file, and a proxy node?
A subscription URL retrieves a configuration or list of nodes. A configuration file is downloaded locally and read by the core. A node is just a proxy exit; it doesn’t include the full routing logic. A complete Clash configuration can define proxy groups, rules, and DNS settings, while a list of node links may not be importable as a configuration. First identify which type of content you have. Subscription URLs may contain access credentials, so don’t share the full URL in screenshots, logs, or public posts.
When should I use Rule, Global, or Direct mode?
Use Rule mode for everyday traffic. Connections that enter the core are matched against rules from top to bottom. Global mode sends those connections through the global proxy group; use it briefly to tell a rule issue from an exit issue. Direct mode sends them out without a proxy. After switching modes, start a new connection to the same domain and check the connection log. These modes only determine how traffic is handled after it enters the core; they don’t mean the client captures traffic from every app.
What’s the difference between a system proxy and a TUN virtual network interface?
A system proxy changes the operating system’s proxy settings and works with browsers and apps that honor them. TUN uses a virtual network interface and system routes to capture traffic, covering more apps that ignore system proxy settings. Its actual reach still depends on routes and exclusions, and it may conflict with other VPNs. Start with the system proxy to verify basic connectivity; use TUN only if you need to cover other apps. When troubleshooting, change only one traffic-capture method at a time.
Setup
Choose the right installer, then confirm the subscription updated and is active.
See how to import a subscription →How do I choose the right architecture and package for a Clash client?
Check your operating system and processor in system information, then compare them with the architectures supported on the download page. On Windows, you can’t tell x64 from ARM64 by the OS name alone. Macs with Apple silicon usually need arm64; Intel Macs need x64. On Linux, check which package formats your distribution supports: Debian-based systems typically use deb, while Fedora typically uses rpm. If the download page doesn’t list your architecture, don’t substitute a package for another platform.
After importing a Clash subscription for the first time, how can I confirm it’s active?
Create a remote configuration on the client’s configuration or subscription page, enter the subscription URL, and update it. Seeing an entry in the list only confirms it was added: select it and make sure the interface marks it as the current configuration. Then open the proxy groups page and check for the expected group names and members. Finally, enable a traffic-capture method, make a new browser request, and check the connection log for the matched rule and actual exit.
What should I check first if a subscription stops working or returns 401 or 403?
Check the subscription provider’s account page to confirm your service status and whether the URL has been reset. A 401 or 403 means the request wasn’t authorized or was denied; the status code alone doesn’t tell you whether the subscription has expired. If the provider issued a new URL, replace the one in the existing configuration and update it manually. A URL that imported successfully before may no longer work. If the response is now a login page, don’t save the webpage as YAML. Ask the provider how to retrieve the correct subscription.
How do I troubleshoot a YAML parsing error during import?
Start with the first parsing error in the log. For a remote configuration, make sure the response is Clash YAML—not an error page or another client’s subscription format. Changing indentation locally won’t fix the wrong response. If you edited the file yourself, go to the reported line and check a few lines above it. Verify spaces for indentation between keys at the same level, hyphens before list items, and a space after each colon. Don’t indent with tabs. Reload a copy after making changes, and replace the original only after the error is gone.
How-to
Use new connections to verify rule order and proxy group selection—not just toggles and speed tests.
Read the routing rules guide →Why does a new routing rule still use the old proxy exit?
Make sure the client is in Rule mode, then check which rule a new connection actually matched in the log. mihomo uses the first matching rule in order. A broader domain suffix or MATCH rule placed earlier will prevent later rules from being reached. Put narrower exceptions before broader rules, and make sure the proxy group named at the end of each rule matches the configuration. Reload after editing and start a new connection to test; existing connections don’t count as verification.
What’s the difference between select, url-test, and fallback proxy groups?
select lets you manually choose an exit from the group, making it suitable for a fixed route. url-test selects an available member with lower latency based on checks against a specified test URL; switching may also depend on the tolerance setting. fallback favors the order of the members, using the first one in the list that passes its health check. Automatic groups test the configured URL, which doesn’t guarantee access to every destination. Check the actual connection log to verify the route.
Why are downloads still slow when the node’s latency is low?
The latency shown by the client is usually the time it takes to probe a specified test URL through a node, not the actual file download speed. Sustained transfers are also affected by congestion, packet loss, server speed limits, and your local Wi-Fi. For a fair comparison, keep the device, target file, and traffic-capture mode the same. Change only one exit at a time and observe sustained transfer speed, not a momentary peak. Also check the outbound group used by the actual connection so you don’t attribute a download to a different node than the one carrying it.
How can I stop subscription updates from overwriting my custom rules?
Remote subscription updates usually fetch the source configuration again, so edits made directly to it may be overwritten. If the client supports overrides, merges, or extensions, keep local rules separate there and confirm the feature is applied to the current subscription. Pay close attention to whether rules are inserted at the start or appended to the end: rules appended after MATCH usually won’t be matched. Keep a working copy before updating, then check the rule order after the update. If you maintain a separate copy manually, you’ll also need to sync node changes yourself.
Troubleshooting
Check whether app connections reach the core first, then troubleshoot DNS, rules, and exits.
See the TUN setup guide →A node speed test times out. How do I tell if it’s one node or a wider issue?
On the same network, test two members of the same group, then make a real browser request and check its exit in the connection log. If only a few members time out, check those nodes first. If the entire group times out but real requests work, the test URL may be unreachable or the test timeout may be too short. If both tests and real requests fail, turn off the proxy first to confirm your local network works. Then check the client log to distinguish DNS resolution failures, connection timeouts, and authentication errors.
Why does the browser work with the system proxy on while other apps don’t?
Have the affected app start a new connection, then check the client log or connection list for a matching entry. If the browser appears but the app doesn’t, check whether the app ignores system proxy settings, has its own proxy settings, or sends requests from a background service. If the app supports manual proxy configuration, select the appropriate proxy type and enter the listening address and port shown in the client. If a matching connection is already logged, check its rule and outbound route instead of repeatedly toggling the system proxy.
What should I do if TUN reports insufficient permissions or fails to create a virtual network interface?
Check the log first to see whether the virtual network interface failed to be created or whether routes couldn’t be added afterward. On Windows, follow the client’s instructions to install and start service mode. On Linux, confirm that /dev/net/tun is available, then check the client documentation for the running user’s network administration permissions. If another VPN is enabled, exit one of them and test again. On a managed device, ask an administrator to check policy restrictions; disabling the firewall isn’t a troubleshooting step.
Can’t a Windows UWP app connect to a local proxy? Does it need loopback access?
First confirm that a regular desktop app can connect through the same local proxy port, and that the affected app is a network-isolated UWP app. Consider a loopback exemption only if the app needs to access a local loopback address but is blocked. If the client includes a UWP loopback tool, select only the affected app, save, fully quit and reopen it, then check the connection log. Don’t exempt every app at once. If a matching connection is already logged, check its rule and exit first.
Why can’t I reach local network devices by name after switching to fake-ip?
Compare by connecting to the device’s IP address if you’re allowed to access it. If the address works but the name doesn’t, check DNS before changing nodes. For internal domains resolved through regular DNS, use fake-ip-filter to exclude the relevant names according to the current filtering mode, and make sure the core can still query a local resolver that knows those names. For mDNS-based .local names, also check multicast discovery and network interface routes. Change one setting at a time, then verify with a new lookup and connection.