· Migration · 8 min read
How to Migrate After a Clash Client Is Discontinued: mihomo Alternatives and Config Migration
Compare mihomo-based alternatives by platform, then learn how to migrate subscriptions, rules, and overrides—and avoid compatibility issues.
Choose a Replacement by Platform: Check the Core, Then Find the Import Options
A discontinued client doesn’t necessarily mean your subscription is gone. Before choosing a replacement, note the config name and where it came from in the old client. mihomo is the new name used by the Clash.Meta project; it parses configs, matches rules, and establishes proxy connections. Subscription management, system proxy controls, and override editors are provided by the client. Even when two clients use the same core, their backup formats and menus may differ.
| Platform | Options | What to Check Before Switching |
|---|---|---|
| Android | Clash Meta for Android、FlClash | Can it import remote subscriptions and local YAML files? Do you need per-app proxy routing? |
| Windows、macOS | Clash Verge Rev、FlClash | Does the package match your CPU architecture? Are the override options and TUN permissions you need available? |
| Linux | Clash Verge Rev, FlClash; or run mihomo standalone | Does the package match your distribution and architecture? If you run the core standalone, subscription updates and system integration need to be configured separately. |
| iOS | Choose based on the core and import formats the app actually supports | “Supports Clash subscriptions” only indicates support for a particular import method. It doesn’t confirm that the app uses mihomo or fully supports rule sets and script-based overrides. |
Check the project’s release notes before downloading to confirm which core is bundled or available as an option. After installation, note the client and core versions separately in the About page or startup log. If a YAML field won’t parse, check field support for your core version. If you can’t find the subscription or override options, consult the client’s documentation.
Back Up Subscriptions, Configs, and Overrides—not Just a YAML File
Make backups before closing the old client. If exports are available, keep both the original config and the effective config after client overrides have been applied. The original is useful for importing again; the effective version makes it easier to compare changes. It may include client-generated port, DNS, and TUN settings, so don’t use it as a long-term subscription source.
- Remote subscriptions: Save the subscription URL, config name, and update interval. If your subscription provider offers multiple export formats, choose Clash or Clash.Meta. Paste the URL into the new client’s remote subscription field; don’t enter a single-node link as a subscription.
- Local YAML: Keep the original file and any local rule sets or proxy provider files it references. A rule set that worked on the old device may have relied on a file left in its old directory. Copying only the main config won’t bring those dependencies along.
- Client overrides: Save merge snippets, scripts, custom DNS settings, and added rules separately. Note whether each applies globally or is tied to a specific subscription. Even if scripts are all written in JavaScript, they may rely on different entry points or client APIs.
- Runtime settings: Record the rule mode, frequently used proxy groups, and selected nodes. Also note the mixed port, system proxy, TUN, and per-app routing settings. These may be stored in the client’s database and won’t be included in the YAML export.
Subscription URLs may contain access tokens, and config files may include node credentials. Keep backups on devices you control. Before sharing screenshots or logs, redact full URLs and credentials.
Import into mihomo: Get the Original Config Running First
- Stop the old client from taking over traffic. On desktop, turn off the old client’s system proxy and TUN mode, then quit the app. On Android, disconnect the old client’s VPN. If the system keeps starting the old app, go to Settings → Network & internet → VPN and check Always-on VPN. Menu names vary by manufacturer; you can also search Settings for “VPN.”
- Import from one source. In Clash Verge Rev, import a remote URL or local file from the Subscriptions page. In other clients, look for the equivalent option under Config or Subscriptions. A remote subscription is best if you want ongoing updates; local YAML is useful for manual maintenance or offline testing. Import a subscription only once to avoid accidentally selecting a static copy as your active config.
- Enable the config and check the logs. Make sure the newly imported config is selected and set the mode to Rule. On the Proxies page, select a familiar proxy group and node, then review the startup log. A successful import only means the client received the config—it doesn’t mean the config is active or that remote rule sets have loaded.
- Test with one connection method at a time. On desktop, start with the system proxy and leave TUN off. On Android, start the proxy and allow the new client to create a VPN when prompted. VPN permission granted to the old app doesn’t transfer to the new one. Once the basic connection works, re-enable TUN, per-app routing, or other connection settings.
If the subscription downloads but the config fails to parse, first check whether the server returned usable Clash YAML—or a login page, error message, or Base64-encoded node list. Seeing a few nodes doesn’t mean rules and proxy groups were migrated: some import options parse nodes only, not the full config.
Restore Rule Sets and Overrides: Check Names, Paths, and Order
Make Sure Rule References Match the New Config
For every RULE-SET reference in the old config, check that the name exists under rule-providers in the new config. Then confirm that the policy group named after each rule matches a name under proxy-groups. An extra space or different punctuation in a group name can prevent the config from loading. Check dynamic node lists under proxy-providers separately; they aren’t rule sets.
Confirm that remote rule sets download successfully, and that the declared format and behavior match the file’s format and contents. DNS domain entries, IP ranges, and line-by-line rules with explicit rule types aren’t interchangeable. When migrating local rule files, don’t assume a relative path is resolved from the imported YAML’s directory. Check which config directory the client uses for the core, then use the logs to locate missing files.
Restore Overrides One at a Time
Migrate custom rules first, then restore DNS, TUN, and scripts. When applying overrides, distinguish between prepend, append, and replace: mihomo generally evaluates rules from top to bottom, and the first match determines where traffic goes. If you append a domain rule after an existing MATCH rule, the request will usually match MATCH first. Put specific rules before broad rules and catch-all rules.
Check the config actually passed to the core by the new client, not just what appears in the override editor. Update the subscription once, then check the same rules and proxy groups again. If rules disappear after an update, you may have edited a subscription copy directly or failed to bind the override to the active subscription. For changes you want to keep, use the client’s supported override mechanism.
After Migration: Verify Proxy Access, LAN Connectivity, and Rules After Updates
- Test one direct connection and one proxied connection. Open one site expected to connect directly and another expected to use the proxy. On the Connections page or in the logs, check the matched rule, target proxy group, and actual outbound node by domain. A successful latency test only confirms that the test request completed; it doesn’t prove browser traffic uses the same node.
- Check for port conflicts. For example, if the config uses
mixed-port: 7890and the logs say the port is already in use, make sure the old client has exited. If you switch to an available port such as7891, also update any browser or tool where you entered the proxy port manually. The system proxy toggle won’t update those apps’ separate settings. - Test DNS and TUN separately. Before enabling TUN, note whether your LAN devices are reachable. After enabling it, try the same device and frequently used domain again. If the LAN IP works but the device name doesn’t, check local DNS resolution,
nameserver-policy, andfake-ip-filterwhen using Fake-IP mode. If the IP is unreachable too, check the routing scope and direct-connection rules first; don’t change several DNS settings at once. - Check after restarting and updating the subscription. Update the subscription manually, then restart the client. Recheck the selected config, proxy groups, override status, and system proxy or VPN. On mobile, also test after locking and unlocking the screen and switching from Wi-Fi to mobile data to make sure the connection recovers.
Uninstall the old client only after these scenarios work reliably. If you need to roll back, first turn off the new client’s system proxy, TUN, or VPN, then restore the old client’s config and connection settings. This avoids port conflicts and repeated changes to system proxy settings. Keep the old client as a temporary fallback; for long-term use, choose an option that’s actively maintained and can update configs reliably.