Original Clash vs. Clash Meta vs. mihomo: Features, Support, and Config Differences
Compare the origins and evolution of three Clash cores, including protocol, rule, and config support—and learn what to update when migrating an older config.
How are original Clash, Premium, Meta, and mihomo related?
Original Clash refers to the early open-source core. Clash Premium was a separate closed-source build released by the original Clash project, adding features such as TUN and external rule providers. Clash Meta was a fork of open-source Clash and was later renamed mihomo. Meta and mihomo are part of the same project lineage; Premium is a separate build line, not an earlier name for Meta.
Keep the client and the core separate, too. The GUI client imports configs, switches proxy groups, and manages the system proxy; the core parses configs, listens on ports, and handles connections. A client’s version number is not the core’s version number. Before troubleshooting, find the core name and version in the client’s About or core management screen; menu names vary by client. If you installed mihomo separately, run mihomo -v. This shows the version of the executable invoked by that command, not necessarily the core currently running in your client.
Protocol, Rule, and TUN Support Compared
| Feature | Original open-source Clash | Clash Premium | Clash Meta / mihomo |
|---|---|---|---|
| Common outbound protocols | Shadowsocks, VMess, Trojan, and more | Supports common protocols available in original Clash | Supports common protocols, plus VLESS, Hysteria2, TUIC, and more; available options vary by version |
| Domain and IP rules | Supports DOMAIN-SUFFIX, IP-CIDR, and more |
Supports basic rules and references to external rule providers | Supports basic rules, external rule providers, and types such as GEOSITE and AND |
| TUN traffic routing | The original open-source build does not include a built-in TUN mode | Includes TUN; traffic coverage depends on the system and config | Includes TUN; check stack, routing options, and platform support for your version |
| Premium script rules | Not available in the original open-source build | Older configs may include script: and script mode |
Don’t copy these over as-is. Rewrite the script’s matching conditions using supported rules first. |
Even when protocol names match, check the node parameters
Start with type in the proxies list, then check the transport and TLS options. For example, a VLESS node in mihomo uses vless as its protocol type. If it also uses REALITY, check fields such as reality-opts. Changing type to another protocol won’t fix a compatibility issue—the server’s handshake method remains the same. If the client reports an “unsupported proxy type,” first confirm which core is running, then ask your subscription provider for a config format compatible with that core.
Migrating an Old YAML Config: What Can Stay, and What Needs Checking?
Keep the basic fields; check listen addresses and ports separately
The basic structures of proxies, proxy-groups, and rules are similar. Focus on references during migration: node names in groups must match their definitions, and target group names used in rules must exist. If nodes come from proxy-providers, check that the group’s use field references the correct provider name. For auto-updating subscriptions, put local rules in a client-supported override or merge config; edits to the subscription cache may be overwritten on the next refresh.
mixed-port accepts both HTTP and SOCKS proxy connections. For example, if you use 7890 as the mixed port, set a compatible app’s manual proxy to 127.0.0.1:7890 and select the protocol it supports. external-controller is a management API, not a proxy endpoint; the common example 127.0.0.1:9090 listens only on the local machine. Before switching clients, stop the old client’s proxy service to prevent two cores from competing for the same port.
Check the behavior and file format of external rule providers
rule-providers defines external rule providers; RULE-SET in rules is what references them. Use behavior: domain for domain entries, ipcidr for IP ranges, and classical for entries with rule types, such as DOMAIN-SUFFIX,example.org. If a provider fails to load, inspect the rule file and confirm its contents match the configured behavior and format. For mihomo’s mrs format, note that it supports domain and ipcidr; a classical file won’t work just by changing its extension.
Rules are evaluated in order, and the first match determines where traffic goes. Put local exceptions before broader rules, and keep MATCH at the end. If an old config uses a Premium script to match both domains and ports, document each condition and its target group before checking whether mihomo’s logical rules can express it. Don’t assume a script that relies on external state can be converted line by line without changing its behavior.
Migrate DNS and TUN Separately, Then Test Each
TUN routes traffic through a virtual network interface; DNS resolves domain names. They are separate settings. The system proxy usually affects only apps that honor it, while TUN handles traffic according to system routes and its configured coverage. Before enabling TUN, check whether the system requires elevated permissions and whether the client supports routing on your platform. First test one app with a manual proxy, then enable TUN separately to more quickly distinguish a config problem from a traffic-routing problem.
- Check the DNS listener and traffic interception.
dns.enableenables the built-in DNS server, anddns.listensets its listening address. TUN’sdns-hijackintercepts matching DNS traffic. Configuring a listener does not mean system DNS queries are being sent to the core. - Check the DNS mode.
dns.enhanced-mode: fake-ipreturns synthetic addresses for applicable domains, which the core maps back to the original domain names. If a local network service stops working after migration, first check its actual DNS response, then see whether adding the domain tofake-ip-filtershould make it resolve to its real address. - Check automatic routing.
tun.auto-routelets the core configure routes automatically. If your device also has a work VPN, virtual machine adapter, or local network services, test access to internal addresses and regular apps separately after enabling it. If connectivity breaks only with TUN on, turn TUN off and check for route conflicts.
Troubleshoot Migration with a Minimal Config
Back up the old file, then create a separate migration-test.yaml. The example below has no remote nodes or rule providers; it only tests the local mixed port and rule matching. Point a browser that supports manual proxies to 127.0.0.1:7890. Requests to example.org should be rejected; other domains that can connect directly should use DIRECT. Check the match in the connection log rather than relying on a loading page or error message.
mixed-port: 7890
allow-lan: false
mode: rule
log-level: info
rules:
- DOMAIN-SUFFIX,example.org,REJECT
- MATCH,DIRECT
- Test the config first. To run mihomo independently, use
mihomo -t -f migration-test.yamlto check for config loading errors. This does not replace a runtime test: passing validation doesn’t mean the port is free or that every node can connect. - Then restore nodes and proxy groups. Add them back one group at a time and check the connection log after each test. If the interface lets you select a node but it won’t connect, determine whether the cause is a protocol handshake failure, a DNS lookup failure for the node, or a rule sending the connection to a different group.
- Finally, restore rule providers, DNS, and TUN. Change only one category of settings at a time. If a provider loads but traffic takes the wrong route, check which rule matched. If a regular proxy works but TUN doesn’t, check traffic coverage and routing first. Remove the example reject rule when testing is done so it doesn’t end up in your everyday config.
Choose a core based on the protocols and rules your subscription requires. An older config with only basic protocols and domain rules can often keep most of its structure; configs that use Premium scripts, specific rule data, or TUN routing options need separate testing. Get existing connections working first, then enable new features—it’s easier than replacing the entire config and troubleshooting several variables at once.