How Clash Meta became mihomo: a look at the core’s evolution

The original Clash core refers to Dreamacro’s open-source Clash project. It established the familiar YAML structure: proxies defines proxy nodes, proxy-groups defines proxy groups, and rules determines how connections are routed. Clash Meta developed as a fork, extending this structure with additional protocols, rules, and traffic interception features. It was later renamed mihomo. When an older subscription is labeled “Meta only,” it usually means the configuration uses features from this fork. Whether it can be imported still depends on the mihomo version actually in use.

Clash Premium was a separate historical release line, not an earlier name for Clash Meta. Features mentioned in older guides, such as Premium TUN or rule sets, are not part of the original open-source core—and don’t mean a Premium configuration can be migrated to mihomo unchanged. Another common source of confusion is the client version: the app version identifies the interface and packaged release, while the core version is what you need to check for protocol and configuration-field support.

Feature comparison: protocols, rules, and TUN

Feature Original open-source Clash core mihomo (formerly Clash Meta)
Proxy protocols Common options include Shadowsocks, VMess, and Trojan Also supports VLESS, Hysteria 2, TUIC, and more
Basic rules Supports DOMAIN-SUFFIX, IP-CIDR, GEOIP, MATCH, and more Supports the basic rules, plus GEOSITE, AND, OR, and more
Rule sets Does not support Premium’s rule-providers or RULE-SET syntax Define rule sets with rule-providers, then reference them with RULE-SET
TUN The original open-source core has no native TUN support; the legacy Premium core had its own implementation Provides a tun configuration; availability also depends on system permissions and client integration

Subscription compatibility: check node types and parameter combinations

For a complete Clash YAML configuration, check the type of each node under proxies. If nodes are brought in through proxy-providers, their types may not appear in the main file; check them after the provider loads. If you see type: hysteria2 or type: vless, choose a core that supports those types. Changing the field to vmess, which the original core recognizes, does not convert the protocol—the server still expects connections using the original protocol.

Once the node type checks out, review its transport and security parameters. For example, if a VLESS node uses both flow: xtls-rprx-vision and reality-opts, confirm that your core supports this combination. Recognizing the node type is only the first step; connectivity also depends on parameters, credentials, and network conditions. When troubleshooting, distinguish between “configuration failed to load” and “configuration loaded, but the node cannot connect.” A timeout alone doesn’t prove the core is outdated.

Migrating rules: preserve order and check references

Rules are matched from top to bottom in the order they appear in the configuration. Two common migration mistakes are putting MATCH before specific rules, which sends connections straight to the fallback policy, and copying RULE-SET rules without their corresponding rule-set definitions. For example, RULE-SET,work-domains,Work requires a work-domains entry under rule-providers and an available Work outbound policy in the configuration. After startup, check that the rule set loaded successfully. If you use GEOSITE, also make sure the geodata is available and includes the categories referenced by your rules.

TUN vs. system proxy: first check how traffic reaches the core

A system proxy works only for apps that honor the operating system’s proxy settings. When troubleshooting a browser connection, start by checking mixed-port in the configuration. If its value is 7890, the local proxy address is usually 127.0.0.1:7890, provided the core is listening on that address and port. 7890 is only an example; clients don’t all use the same port. If the browser works but a particular app doesn’t appear on the Connections page, it may not use the system proxy. That’s when you may need to consider TUN.

TUN receives traffic routed through a virtual network interface. In mihomo, tun.enable enables the interface, while auto-route configures the routes needed to capture traffic automatically. dns-hijack handles matching DNS requests; it does not capture encrypted DNS that an app sends over HTTPS. TUN sends traffic into the core, while the rules mode decides which outbound handles it. Enabling TUN does not switch the client to global proxy mode.

  1. Turn off TUN first. Use the system proxy to confirm the configuration loads, then connect through a known-working node. This helps rule out most subscription and node issues.
  2. Next, enable traffic capture using the TUN or virtual network adapter toggle in the client’s Settings. Some clients offer a service mode on the same page; others request system permissions. Follow the prompts in your client’s current interface.
  3. Open the target app, then search by domain or destination address on the Connections page. Check which rule matched and which outbound was used. If the connection never reached the core, check the interface, permissions, and routes. If it reached the core but failed, check DNS, the node, and the rules.

If LAN devices become unreachable after you enable TUN, turn it off first and confirm access returns. Then check whether local subnets are being captured and whether internal domain names are still resolved by the original DNS server. Establish whether the connection reached the core before changing route scope or split-tunneling rules.

Choosing and upgrading a core: test with the same configuration

  • Reproducing a legacy setup: If an old subscription uses only basic protocols and rules, and you need to reproduce the previous environment, keep the original configuration and record the original core version. If the current configuration loads, there’s no need to rewrite fields in bulk just to recreate the setup.
  • Using a Meta-format subscription: If the subscription explicitly includes VLESS, Hysteria 2, GEOSITE, or RULE-SET, choose a client with mihomo built in and check that its core version supports all the fields used by the subscription.
  • Capturing traffic from apps that ignore the system proxy: Choose a core with native TUN support, and make sure the client provides a toggle, requests the necessary permissions, and clearly explains how to turn TUN off on your operating system. The core name in the app description alone isn’t enough.

From configuration checks to real connections

Before upgrading, copy the working configuration and note the current system proxy, TUN, and DNS settings. In an environment where mihomo can run independently, run the check below from the configuration directory. This example assumes the file is named config.yaml and explicitly sets the current directory as the core’s working directory. If the configuration references rule sets or other data files, make sure those resources are available too.

mihomo -v
mihomo -t -d . -f config.yaml

-t checks the configuration; it does not test node connectivity or prove that TUN can create an interface on your system. Once the check passes, apply the configuration in the client and switch to Rules mode. Connect to one site expected to go direct and another expected to use a proxy group. On the Connections page, confirm the rule that actually matched and the outbound used. If problems appear after a subscription update, compare the effective configurations before and after the update: node types, rule-set names, and proxy-group references usually reveal more than the client version number.