Core Selection 8 min read
Clash, Clash Meta & mihomo Core Comparison
Compare the evolution, protocol support, and config fields of three Clash core generations. See which core popular clients use and what to check when migrating older configs.
Clash Core Lineage: Original, Premium, Meta & mihomo
When choosing a client, check which protocols your subscription includes, then see which core the client ships with. If it includes VLESS, Hysteria 2, or TUIC, start with a client powered by mihomo. If you only need to maintain an older Clash config, a project rename alone is no reason to rewrite the entire YAML file. First check node fields, rule references, and how traffic is routed.
- Original Clash: Usually refers to Dreamacro’s open-source core. This project line popularized config structures such as
proxies,proxy-groups, andrules. Older guides that simply say “Clash” don’t tell you whether they mean the open-source core or Premium. - Clash Premium: An enhanced core released separately by the original author, with prebuilt binaries. TUN or
script:settings in older guides may target Premium; their presence doesn’t mean an open-source build can run them the same way. - Clash Meta → mihomo: Clash.Meta began as a fork of open-source Clash and was later renamed mihomo. “Meta” in older clients often refers to this core lineage. It isn’t a newer version of Premium, and the “Meta” label alone doesn’t tell you which newer fields are supported.
Protocols and Config Fields: Check Node Types, Not Subscription File Extensions
Two configs can both end in .yaml and still have completely different compatibility. After updating a subscription, check the type of each node under proxies. If the main config uses proxy-providers, node definitions may be in provider files, so checking only the main file isn’t enough. Even with the same protocol type, verify the transport, encryption method, and authentication options against the core version you’re using.
| Check | Legacy Clash Config | When Migrating to mihomo |
|---|---|---|
| Common Nodes | ss, vmess, and trojan are common in older configs | The basic structure can usually be reused; check the encryption method and transport settings such as network. |
| Additional Protocols | Don’t assume the original core or Premium can read mihomo-specific syntax | VLESS, Hysteria 2, and TUIC use the types vless, hysteria2, and tuic, respectively. Check the options against your core version and subscription. |
| Rules and Proxy Groups | rules are matched in order; rules refer to proxy group names | Check proxy group names, provider references, and the final MATCH rule. If you rename a group, update its references too. |
| Premium Scripts | Older files may include script: or use mode: script | First identify the original script’s routing conditions, then see whether they can be expressed with rules supported by your current version. Don’t assume an old script is a portable config. |
Choosing a Client: Check Which Core Is Running
The client manages configs and provides the interface; the core parses configs, matches rules, and connects to servers. The client version shown on a download page isn’t the core version, and “Clash” in a client’s name doesn’t identify its core.
- Clash Verge Rev: For desktop users on Windows, macOS, and Linux; it uses the mihomo core. After installing, import your link under “Subscriptions” and select the imported config. If a field isn’t recognized, note both the client version and the core version shown in the logs—don’t report just one.
- Clash for Windows: The former official release used Clash Premium and is no longer maintained. When migrating an older device, save your subscription URL or local YAML file, along with any manually maintained rule files. Don’t copy the old program folder over the new client’s config directory.
- Clash Meta for Android: Uses the Meta/mihomo core lineage. A good fit if you need to import a compatible YAML file on Android. When enabling it for the first time, grant the system VPN permission and make sure the right config is selected. Android’s VPN routing is different from a desktop client’s system proxy setting.
To run a standalone core, use mihomo -v to check its version. If the client uses that same standalone binary, you can check the version with it too. Running a separate mihomo installation from a terminal may show a different version from the one the client is using.
Migrating an Old Config: Import and Verify Rules
- Keep the old config and its dependencies. Save a copy of the old YAML and note the current mode, selected proxy group, system proxy setting, and TUN status. If your rules reference local provider files, keep those too; relative paths may resolve differently in the new core’s working directory.
- Create a separate config in the new client. For an online subscription, re-import it from the original URL. If your provider offers multiple output formats, choose Clash Meta or mihomo to match the core. For a local YAML, import a copy and keep the original subscription entries intact. Manage any manual rules you need to keep using the client’s supported override feature, so the next subscription update doesn’t replace them.
- Check that the config parses first. With standalone mihomo, run
mihomo -t -f ./config.yamlfrom the config directory, replacingconfig.yamlwith the name of your copied file. A successful check only confirms that the core passed this config test; it doesn’t verify node connectivity. In a GUI client, check the logs after applying the config, not just the “import successful” message. - Use rule mode to check two cases. Test one site expected to connect directly and one expected to use a proxy group. Check the connection log to confirm which rule matched and which outbound policy was used. If both types of traffic hit the final
MATCHrule, first check that the earlier rules loaded and are in the right order before switching nodes.
Group name references are easy to miss when migrating rules. For example, the old rule DOMAIN-SUFFIX,example.com,Everyday Proxy refers to a group named “Everyday Proxy.” If the new subscription renames it “Manual Select,” update the rule’s third field or keep a compatibility group with the old name. Also check whether other groups still reference the old name.
System Proxy, TUN, and DNS: Troubleshoot Separately
Test the Local Listener Before Enabling TUN
For your first migration, leave TUN off and test with apps that explicitly use the system proxy. For example, if the config sets mixed-port: 7890 and the listener is active, set the desktop system proxy to 127.0.0.1:7890. This is an example port, not a universal default; use the value in your running config. If the startup log says the port is already in use, quit the old client if it’s still running, or choose another port and update the proxy address in your app.
Once the basic connection works, enable TUN separately and test an app that doesn’t use the system proxy. TUN routes traffic through a virtual network interface; whether it captures traffic also depends on system permissions, routing, and other VPNs. Don’t copy the old client’s TUN settings wholesale. Start with the new client’s defaults, then adjust options under tun as needed.
Check Connection Logs, Then Compare DNS and Rules
If domain resolution problems start only after enabling TUN, check whether dns.enable, dns.nameserver, and tun.dns-hijack are set as intended. These control core DNS, upstream resolution, and DNS interception by TUN—they’re separate settings. If the old config uses fake-ip, also check whether fake-ip-filter still includes domains that need to resolve to real IP addresses. Don’t change the DNS mode and the entire routing ruleset at once just to troubleshoot.
Change one thing at a time. If a request doesn’t appear in the connection log, first check whether the app uses the system proxy or its traffic is entering TUN. If there’s a log entry but the wrong policy is applied, check which rule matched. If the policy is right but the connection times out, investigate the node and route. This helps distinguish migration issues from an unavailable server or route.