Clash Core Comparison: Original Clash vs. Meta vs. mihomo — Features, Config Fields, and Compatibility
Compare the history, protocol support, rule types, and DNS fields of three Clash cores, plus the key changes to make when migrating an older config to mihomo.
Know the difference between the client, Clash Premium, and the Meta core
On Windows 11, the client imports subscriptions, switches configs, and manages the system proxy. The core parses YAML, accepts connections, matches rules, and establishes outbound connections. A client with Clash in its name may not be running the original Clash core. A subscription downloading successfully only confirms that the config file was retrieved; it doesn't mean the core supports its nodes and fields.
- Original open-source Clash core: A common baseline for older configs. Later forks retain many conventions for basic proxies, proxy groups, and domain-based routing, but don't use Premium documentation to determine which extensions the open-source core supports.
- Clash Premium: A separate closed-source core released by the original Clash project, with extensions such as TUN and rule providers. It isn't an earlier name for Meta or a predecessor to mihomo.
- Clash.Meta and mihomo: Clash.Meta grew out of Clash's open-source codebase, and the project was later renamed mihomo. In older clients, “Meta core” may refer to a build from before the rename or simply be a legacy label in the interface. When troubleshooting, note the actual core version rather than relying on the client version.
If you have a standalone mihomo executable, run .\mihomo.exe -v in its directory in PowerShell to check its version. A client's bundled core may differ from a separately downloaded file. To verify the version actually running, check the client's core information or startup log.
Protocol, rule, and DNS field comparison
Check which features the subscription actually uses before switching cores. Node names are display labels; check the type under each entry in proxies to identify its protocol. For rules and DNS, inspect the effective config, especially any overrides merged in by the client.
| Feature | Open-source Clash | Clash Premium | Clash.Meta/mihomo |
|---|---|---|---|
| Proxy protocols | Older configs commonly use ss, vmess, or trojan |
Don't assume Premium supports VLESS or Hysteria 2 | Using mihomo v1.19.0 as the reference, supported types include vless, hysteria2, and tuic |
| Rules and rule providers | Common rule types include DOMAIN-SUFFIX, IP-CIDR, and MATCH |
Supports rule-providers and RULE-SET |
Supports rule providers and GEOSITE; check the provider format and matching behavior |
| Enhanced DNS modes | Older configs commonly use fake-ip or redir-host |
Also supports these two modes; that doesn't mean it supports every mihomo DNS field | Use nameserver-policy to select upstream DNS servers by domain, and proxy-server-nameserver to resolve proxy server hostnames |
| TUN | Don't configure the original open-source core using Premium's tun: documentation |
Includes TUN support; available fields and behavior depend on the historical build | Includes TUN support; on Windows, also check permissions, routes, and the client's service mode |
For example, recognizing type: vless only means the core understands VLESS. If the server uses REALITY, also check reality-opts, servername, and the relevant transport parameters. Don't change vless to vmess just to suppress an import error: changing the field doesn't change the server protocol. If your subscription supports client-specific output, get a config that matches the core you're using.
Migrating YAML: start with proxies, then groups and rule providers
- Make a copy and keep the original. Save the current config as a local copy. If the client automatically updates subscriptions, test changes on the copy so the next update doesn't overwrite them. Don't post the original file publicly if it contains a subscription token, proxy password, or UUID.
- Check names and references. In
proxy-groups,proxieslists proxies or other groups, whileusereferences providers inproxy-providers. The policy at the end of each rule must also match an existing proxy group, proxy, or built-in policy. For example, if you rename the groupPROXYto “Manual Select,” update the existingMATCH,PROXYrule too. - Understand rule-provider behavior and file formats.
behavior: domainis for domain lists,ipcidrfor IP ranges, andclassicalfor entries with rule types, such asDOMAIN-SUFFIX,example.com. When moving YAML rule providers from Premium, check the file'spayloadstructure and keep the behavior that matches its contents. Changing the extension doesn't convert YAML into a text or binary rule set. - Check which rule matches first. Rules are evaluated from top to bottom, so put the fallback
MATCHlast. If you add a broad rule during migration, place any domain exceptions that need priority above it. If routing behaves unexpectedly, check the matched rule and outbound group in the connection details before changing the order.
Migrating DNS: keep the enhanced mode and verify each upstream
If an older config uses dns.enhanced-mode: fake-ip, you can leave it in place initially. For queries that aren't filtered, the core can return a mapped address, for example within the range represented by the common config value 198.18.0.1/16. The mapping is then used to recover the domain for subsequent connections. redir-host, by contrast, returns the actual resolved address instead of using this kind of fake-IP mapping.
- LAN services that need real IP addresses: Identify the affected hostname, then add it to
fake-ip-filterusing syntax supported by your core. If only one internal device is affected, start by adding its full domain name rather than excluding all domains. Excluding a domain from fake-IP mapping only changes its DNS response; it doesn't automatically send traffic direct. - Proxy server hostname won't resolve: Check whether the upstream used by
proxy-server-nameserveris reachable before the proxy is established. If resolving the proxy's hostname requires using that same, not-yet-connected proxy, you may have a circular dependency. - Only one domain resolves to the wrong address: Check whether
nameserver-policysends it to the intended upstream. This field selects a DNS upstream, not an outbound routing policy. Whether the connection goes direct or through a proxy still depends on the operating mode and the rule that matches.
Keep caching in mind when retesting. ipconfig /flushdns clears the Windows DNS client cache, but not your browser's Secure DNS cache or mihomo's internal mappings. If the result doesn't change, first confirm that the test traffic uses the core's DNS, then clear the cache at the relevant layer.
Windows 11 testing: start with the system proxy, then test TUN
Check the config and local listener
With a standalone core, you can test a local config in PowerShell. Run the check from a working directory that contains the same data files and relative-path resources; the command below sets the current directory as the core's working directory.
.\mihomo.exe -t -d . -f .\config.yaml
If the client merges subscriptions, overrides, and settings, testing the raw subscription file won't verify the effective config. Once the core starts, turn off TUN and enable only the system proxy for the first test. Use a browser that follows the system proxy, then check the current settings in Windows Settings → Network & internet → Proxy. If the client uses manual proxy settings and the effective config has mixed-port: 7890 bound to the IPv4 loopback interface, confirm the address is 127.0.0.1 and the port is 7890. This is an example port, not a default for every client.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7890
TcpTestSucceeded set to True only means the local TCP listener is reachable; it doesn't confirm that a proxy node works. If the port is unreachable, check whether the core started and whether another process is using the port. If the port responds but websites won't load, check whether the connection reaches the core, which outbound it selected, and whether the log reports a DNS failure, timeout, or handshake error.
Test TUN routing separately at the end
The system proxy only affects apps that use that setting. To cover apps that ignore it, turn off the system proxy and test with TUN enabled on its own. Check that the client has the required administrator permissions or service, and that tun.enable and tun.auto-route are set as expected in the effective config. If dns-hijack is enabled, remember that standard DNS hijacking rules don't automatically send DNS queries the browser makes over HTTPS to the core.
If connections recover as soon as you turn TUN off, check the virtual adapter, routes left by existing VPNs, and the automatically selected outbound interface first. Don't change the proxy node, DNS, and TUN settings all at once, or you won't know which change caused the problem. On a managed PC, check your organization's network policy before changing system routes.
Choosing a core: match your subscription features and system routing needs
When maintaining older configs, keep the original or Premium environment available for regression testing. For a fresh Windows 11 client setup, prefer a mihomo client that lets you verify the core version if your subscription explicitly uses hysteria2, VLESS REALITY, or DNS policies that depend on mihomo. Configs with only basic proxies and domain-based routing are usually easier to migrate, but test them in stages: config parses, port is reachable, rules match, and proxies work. Add TUN testing only if you need to cover apps that ignore the system proxy.