FAQ / Configuration and Connectivity

Clash Meta FAQ

Find settings by stage, or start with an issue such as a failed subscription, timed-out nodes, or apps that can’t connect.

Getting Started

Learn how the core, clients, and traffic interception methods differ.

How are Clash Meta, the mihomo core, and clients related?

mihomo is the current name of the core project used by Clash Meta. It reads configuration, matches rules, and establishes connections. GUI clients provide features such as subscription management, log viewing, and system proxy controls. Even clients that use mihomo may bundle different core versions. To check compatibility, find the core version on the About or Core page, then confirm that it supports the configuration options you need. Don’t compare client version numbers alone.

What else do I need after installing a Clash client?

You need to import a valid configuration. You can usually get a complete Clash YAML file or a subscription URL that returns one from a trusted source. The installer does not include working proxy nodes. Enabling the system proxy only directs app requests to a local port; it does not create a working outbound connection. After importing, make sure the configuration is active, then check the proxy groups and available options on the Proxies page.

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

Rule mode checks connections entering the core against the rules in order, applying the policy for the first matching rule. A MATCH rule at the end typically catches everything else. Global mode uses the currently selected outbound in the global policy group instead of routing by this rule list. Direct mode sends connections entering the core straight out; it does not turn off the system proxy or TUN. To stop traffic interception temporarily, turn off the specific entry point that is enabled.

Should I use the system proxy or TUN mode?

On desktop, start with the system proxy if you only need browsers and apps that honor system proxy settings to use the core. Consider TUN if an app ignores the system proxy or you need to intercept supported UDP traffic. TUN routes traffic through a virtual network interface, and its behavior depends on platform permissions, routing configuration, and other VPNs. When setting things up, enable one entry point at a time, verify the traffic path, then decide whether you need the other.

Setup

Import configurations, grant permissions, and migrate from an older client.

Where do I import a subscription URL or local YAML file?

In the client’s Subscription or Configuration page, choose Import from URL or Import from file, then apply the new entry. Some clients accept both complete YAML configurations and node-only subscriptions, but may provide separate import options. A complete configuration usually contains keys such as proxies, proxy-groups, and rules, or references nodes through proxy-providers. If the response is a long string of encoded text or a login page, don’t just change the file extension; check what format the source actually provides.

What should I do if TUN requires more permissions on Windows or macOS?

Check the client logs first to see whether the error occurred while creating a virtual network interface, adding routes, or starting a helper service. On Windows, if the client offers Service Mode or Install Service, grant permission as prompted, then check that the service is running. On macOS, if the client explicitly asks you to approve a network extension, search for Network Extensions in System Settings, verify its name, and approve it. If a managed device lacks the required permission, ask your administrator about the applicable policy.

Should I allow the VPN request when connecting for the first time on Android?

Android clients typically use VpnService to create a local VPN interface and intercept traffic. Make sure the prompt is from the client you just launched, tap Allow, then check the connection status in the app. If the connection drops immediately, search for VPN in Settings and check whether another VPN is running or an always-on VPN is configured. In general, only one VPN connection can be active for a user at a time.

Can I copy my old settings when migrating from Clash for Windows?

Back up your subscription records, local YAML files, and custom overrides first. It’s usually best to import a fresh copy of the original configuration into the new client. The old client’s UI settings directory and override format may not be compatible, so avoid copying the entire directory over. Once the new configuration loads, migrate rules and DNS settings one at a time, checking the logs after each change. Before switching, exit the old client normally to prevent both apps from competing for the same ports or repeatedly changing system proxy settings.

Usage Tips

Verify rule matches, node selection, and DNS routing.

Why aren’t my custom rules working when I add them at the end of the list?

Rule mode checks rules in order. Once a connection matches an earlier rule, later rules aren’t considered. Put domain rules that need priority before broader rules and MATCH. After applying the configuration, find the request on the Connections page and check the rule it matched and its outbound policy. Test with a new connection; existing long-lived connections usually won’t be rerouted when you change the rules.

How can I keep devices on my local network connected directly?

First check the actual IP range used by your printer or NAS. Then, in Rule mode, set a DIRECT policy for the relevant subnet. For example, on a home network using 192.168.50.0/24, add IP-CIDR,192.168.50.0/24,DIRECT,no-resolve in an appropriate position before MATCH. Test by device IP and hostname separately. If only the hostname fails, investigate local name resolution or device discovery rather than widening the subnet.

Why doesn’t automatic selection pick the node with the lowest current latency?

url-test compares how nodes reach a specified probe URL, not the download throughput of your apps or the stability of each connection. The probe interval, tolerance for switching, and most recent measurements can all affect the result. Check the policy group’s probe URL, interval, and tolerance, then compare results using a new connection from the app you care about. If you want to switch to the next node when one becomes unavailable, compare how fallback and url-test behave.

How can I tell if DNS is leaking?

First decide which DNS path each app should use. Then trigger a fresh domain lookup in that app and compare the client logs, system resolver settings, and the browser’s Secure DNS settings. Browsers may send queries through encrypted DNS on their own, so their results may differ from system tools. Seeing a public resolver on a DNS test page doesn’t by itself prove there’s a leak; what matters is whether queries use the expected interface and resolver.

Troubleshooting

First determine whether the problem is configuration loading, traffic interception, or outbound connectivity.

A subscription update failed. How can I tell if the URL is no longer valid?

Check the update history for an HTTP status code or parsing error. For 401 or 403 responses, check your authorization and subscription status. For a 404, check with the provider to see whether the URL has been reset. If the response is 200 but import still fails, preview it in the client to see whether it’s actually a login page, an error page, or an unsupported format. If the error is only a timeout, investigate the network path first. Subscription URLs may contain access credentials, so don’t post them in public forums or third-party conversion services.

All node tests are timing out. What should I check first?

On a network where direct access is allowed, first confirm that you can reach ordinary websites. If Wi-Fi is connected but requires a login, complete the network sign-in first. Then check the logs around the time of the test to distinguish DNS failures, connection timeouts, and TLS handshake failures. If only one probe URL fails, test the actual connection with a destination you’re allowed to access. If only a few nodes report errors, check their ports, protocol settings, and provider status first.

Why isn’t an app using the proxy even though the system proxy is on?

Check that the local address and port in your system proxy settings match the client’s HTTP or mixed port, and make sure the core is running. Restart the app, make a new request, then check the Connections page. If there’s no entry, check whether the app has its own proxy settings, is excluded from the system proxy, or ignores system proxy settings. If there is an entry and it matches DIRECT, interception is working; check the mode and routing rules instead.

How do I fix loopback restrictions when only one Windows UWP app can’t connect?

First confirm that a regular desktop app can connect through the same system proxy. If the affected app uses AppContainer, it may not be able to access the local proxy port at 127.0.0.1. If your client includes a UWP Loopback or Loopback Exemption tool, use an authorized account to enable an exception only for the app package that needs it, then restart the app and test again. Don’t add every app to the exception list. On a managed PC, check that your organization’s policy allows it first.

How can I restore internet access if my whole PC goes offline after I quit the client?

Open your system proxy settings and check whether they still point to a local port that is no longer listening. If you normally use an organization’s proxy, restore its original address or auto-configuration script. If you didn’t previously set a manual proxy, turn off the manual proxy setting left behind by the client. If you used TUN, relaunch the same client, turn off TUN in its interface, and exit normally. Then check the system VPN and virtual network interface status. Verify that access is restored before considering a full network reset.