Clash Core vs. Meta and mihomo: Evolution, Features, and Config Compatibility

Compare the original Clash, Clash.Meta, and mihomo: trace their evolution and check protocol support, rule syntax, and config compatibility to choose the right client core.

Choosing a core: check subscription fields first, then the client name

When installing a client, prioritize versions that bundle an actively maintained mihomo core. If your existing config uses type: hysteria2, or type: vless with reality-opts, choose a core that can parse those fields rather than sticking with the original open-source Clash core. If you're taking over an older config that uses Shadowsocks, VMess, or Trojan nodes and DOMAIN-SUFFIX and MATCH for routing, test it with the target core first; you usually won't need to rewrite all the rules.

The client and the core are separate layers. The client imports subscriptions, starts services, and provides the interface; the core reads the config, establishes connections, and applies routing rules. The same client name may refer to different releases, and the app's version number is not the core's version number. To choose, find out which core is actually running—not whether the installer or client title says Clash or Meta.

How the cores evolved: original Clash, Premium, Clash.Meta, and mihomo

Here, “original open-source core” refers to the open-source release line of Dreamacro/clash. Clash Premium was a separate release line from the original project, with historical versions offering extensions such as rule providers and TUN. So older guides saying “Clash supports RULE-SET” may refer to Premium; don't assume the original open-source build can load the same config.

Clash.Meta grew out of a fork of Clash's open-source code, adding protocol and config support before being renamed mihomo. Meta and mihomo are names for the same project's earlier and later stages, not two unrelated config ecosystems. However, early Meta binaries don't include every feature added in later mihomo releases. For example, Mihomo v1.19.0 identifies the project and version; it doesn't mean that's the latest release, and current docs can't confirm that version has every feature described.

What to check Original Clash open-source core Clash Premium Clash.Meta / mihomo
Basic routing rules DOMAIN-SUFFIX、IP-CIDR、MATCH Supports these basic rules Compatible with these basic rules
Rule providers Cannot load rule-providers and RULE-SET the way Premium does Supports rule providers and RULE-SET; check the format against the relevant historical version Supports rule providers and RULE-SET; check extended formats against the target version
Proxy protocols Common types include ss, vmess, and trojan Not a compatible substitute for newer mihomo protocols Check support for vless, hysteria2, and their protocol-specific options
TUN Does not offer the same TUN capabilities as the Premium release line Historical releases offered TUN Supports TUN; actual traffic capture also depends on the OS, permissions, and how the client is launched

Subscription compatibility: config parsing, protocol connections, and traffic capture

Check proxies first, then policy group references

A client saving a subscription URL only confirms that the URL was stored; previewing the YAML doesn't mean the core accepted the config. Take VLESS as an example: type: vless identifies the node protocol, while configs using REALITY also need fields such as reality-opts. Changing vless to vmess doesn't convert the connection—the server still expects the original protocol and options. If a node type isn't supported, switch to a core that supports the config or ask the subscription provider for one adapted to your target core.

Distinguish a complete config from a proxy provider file. A complete config can define proxy-groups, rules, and proxy-providers together. In common YAML setups, a file fetched by proxy-providers contains a proxies list, which the main config references through a policy group's use field. When migrating, if you copied only the main config, check that local provider files are still present, remote providers updated successfully, and the node names in policy groups still match their definitions.

A successful connection doesn't mean app traffic is reaching the core

If the config loads and nodes connect but your app doesn't appear in the connections panel, check the traffic entry point first. For a config with mixed-port: 7890, 127.0.0.1:7890 is the local HTTP and SOCKS proxy endpoint; the port is just an example, not a fixed value for every client. The system proxy only affects apps that honor the system proxy settings. TUN relies on virtual network adapters and routing; even if the client shows TUN as enabled, check the logs to confirm the adapter and routes initialized successfully. Test the regular proxy endpoint with the same app first, then test TUN separately to tell whether the issue is traffic capture or the node.

Migrating rule sets: check behavior, format, and rule order

rule-providers declares where a rule set comes from; RULE-SET in rules is what applies it to routing. When a rule matches, the policy comes from the third field in RULE-SET, not the rule set name. Here's an example of a local mihomo rule set: if the main config can't find the referenced file, add the file before testing the rules. Don't mask the problem by adding a broader fallback rule.

mode: rule
rule-providers:
  local-domains:
    type: file
    behavior: domain
    format: yaml
    path: ./rules/local-domains.yaml
rules:
  - RULE-SET,local-domains,DIRECT
  - MATCH,REJECT

In rules/local-domains.yaml under the core's working directory, add rules in the corresponding format. This uses reserved example domains. The final MATCH,REJECT rejects all other traffic reaching the core, so use it only in an isolated config to verify rule order—not as a replacement for your everyday config.

payload:
  - '+.example.com'
  • behavior: domain reads domain entries; behavior: ipcidr reads IP ranges; behavior: classical allows typed rules such as DOMAIN-SUFFIX,example.com. Don't include a policy name in these rule set entries; the main config's RULE-SET specifies the policy.
  • Check that the remote rule set's contents match its format. mihomo's binary mrs rule sets support domain and ipcidr. You can't turn a classical file into an mrs file just by changing its extension, or load it directly in the older Premium core.
  • Rules in rules are matched in order. Put specific rules before broader rules that would override them, and keep MATCH last. If every connection falls through to the fallback policy, first check that the rule set loaded and that rule mode is active, then review the actual match records.

How to verify a core switch

  1. Check the version that's actually running. Open “Logs” in the client's left sidebar and check the most recent startup entry; search for Mihomo or Clash. If the logs don't show a version and you have a standalone core executable, run ./mihomo -v from its directory. In Windows PowerShell, use .\mihomo.exe -v; the filename depends on your installation.
  2. Test the config the client actually passes to the core. If the client supports overrides or merging, the original subscription isn't the same as the active config. If the client can export its active config, use that copy for testing. The following command is for standalone mihomo; run it from the test config directory. -d sets the working directory, and -t tests the config. Keep any required files at the relative paths used by the original config.
./mihomo -d . -f config.yaml -t
  1. Test routing first, then DNS and TUN. In rule mode, make one connection that should match a specific rule and another that should hit the fallback; check the matched rules and outbound paths. If issues occur only with TUN enabled, check tun.auto-route, tun.dns-hijack, and dns. dns-hijack configures the DNS query entry point captured by TUN; it isn't the upstream resolver and doesn't prove that an app's built-in encrypted DNS is being captured.
  2. Change one layer at a time. Keep the old config and its core, and avoid changing the subscription, DNS, and TUN settings all at once. Passing a config test only confirms that the config passed validation; check remote rule set updates, node handshakes, and system routes individually at runtime.

If you only need compatibility with older rules, keep the original config for comparison. If you need newer protocols or rule formats, choose a client that clearly identifies its mihomo core version and provides runtime logs or connection records. Long-term suitability depends on whether your current subscription loads completely and local traffic routes as expected—not on which project name the client uses.

Download Clash