Compare OS settings with configuration fields

Clash Review HubClash Client Reviews & Downloads

Find a client for your OS, use its interface to understand configuration fields, then verify the settings in the connection log.

  • Open-Source Cores
  • Choosing a Client
  • Configuration Guides
Client Review ChecklistSetting → Field Reference checklist · Not benchmark data
Item to CheckWhere to Find Itconfig.yaml field
System ProxySettingsClient Toggle
TUN ModeSettingstun.enable
Allow LANSettingsallow-lan
Mixed PortSettingsmixed-port: 7890
Proxy ModeProxymode: rule
Log LevelLogslog-level: info

Download a Clash client for your OS

Start by checking your OS and processor architecture, then confirm which configuration formats the client supports. An installer that runs on your device does not guarantee that existing rules, protocols, and overrides will transfer as-is.

When several clients are available for the same OS, focus on the tasks you expect to perform regularly. If you often switch subscriptions, check whether the configuration page lets you update, switch, and roll back entries independently. To troubleshoot routing, check whether the connections page shows the request destination, matched rule, and actual outbound route together. A connect button on the home screen alone tells you little about what you can inspect when something goes wrong.

Before migrating from an old client, back up local configurations and custom rules, and note your system proxy port and frequently used proxy groups. After importing into the new client, check the group names and available options on its proxy page before enabling traffic capture. To switch back, stop the new process and disable its traffic-capture settings first. This helps prevent both clients from changing system proxy settings at once or competing for the same listening port.

Configuration Field Index

Clash Core Feature Comparison

The same feature may appear in a different place in each client. Start by finding the interface toggle, then check the effective configuration and connection log. These snippets illustrate individual fields; they are not complete configurations.

mihomo / config.yaml

Rule-based routing: connections are matched in order

Rule mode lets you route different requests through different outbound connections. The core checks rules in the order they appear in the configuration; the first match determines whether a request goes direct, is rejected, or uses a specified proxy group. Compared with global mode, troubleshooting routing requires one extra check: which rule did the connection match, not just which node is selected on the proxy page? If a domain rule seems ineffective, check the connection page to see whether the app is accessing the root domain, a subdomain, or an IP address. Then check whether a broader rule matched first. The fallback rule usually goes last.

mode: rule
rules:
  - DOMAIN,example.org,DIRECT
  - MATCH,DIRECT
  • Check the matched rule in the connection log before changing rule order.
  • Start a new connection after making changes so an existing session doesn't skew the result.

For more on rule sets, override layers, or DNS workflows, see the Advanced Guide. If the same term means different things in different clients, check the Glossary.

First Connection

Clash Quick Start

For your first setup, verify just one connection path. Have the client load a configuration, choose how to route traffic, then check the logs to confirm what happened.

  1. Import and select a configuration

    Open the Configuration or Subscription page and import a local file or subscription URL using an option supported by the client. Then set the imported entry as the active configuration. Return to the proxy page and confirm the groups appear. A successful download only means the data was retrieved; visible groups show that the client has parsed at least part of it.

  2. Choose rule mode and a traffic-routing method

    Select Rule mode on the proxy page, then choose an available option for each proxy group you need. On desktop, start by testing an app that honors system proxy settings. On mobile, follow the prompts to authorize and start the connection. Leave the default DNS settings in place for now; changing ports, DNS, and routes at once makes it harder to pinpoint the cause of a problem.

  3. Make a request and check the logs

    Visit a destination once, then check the Connections or Logs page for its address, matched rule, and final outbound connection. If the request isn't listed, first check whether its traffic entered the client. If it is listed but failed, use the error details to distinguish a DNS issue, an unexpected rule match, or a failed outbound connection.

Once the connection test passes, decide whether you need TUN, DNS overrides, or remote rule sets. If the destination uses persistent connections, reopen the session and test again after changing proxy groups; refreshing the proxy page won't affect an established connection. Note each change and compare the relevant logs before and after. This is more reliable than repeatedly switching between several options.

Read the Full Guide →

Upstream Source and Maintenance

The Clash Ecosystem and Its Open-Source Roots

This is an independent resource for Clash clients. When checking compatibility, distinguish the upstream core, the graphical client, and subscription content. Their capabilities and maintenance status are not interchangeable.

Project history: original Clash, Meta, and mihomo

The original Clash core established a configuration model built around proxies, proxy groups, and rules. Clash.Meta extended that model with additional protocols and traffic-handling features, and development continued under the name mihomo. This history explains why newer and older software can share some fields—and why apps with Clash in their name may not load the same subscription. If an older guide points to an archived interface, identify the core the client actually uses, then check protocols, rule-set formats, and fields individually instead of following the old menu paths blindly.

Open-source ecosystem: what the source can tell you

mihomo is licensed under GPL-3.0. Its source can help explain how configuration parsing and connection handling work. Commit history, issue discussions, and release notes can show whether a problem has been fixed, is still under investigation, or affects only a particular OS. The core's license does not mean every graphical client uses the same license, nor does it mean the same project maintains each installer. Check a client's release source, the core it uses, and its own license notice separately. Don't judge by a similar name or icon.

Core and interface: check capabilities separately

The core parses configuration, matches rules, and establishes connections. The client handles configuration selection, displays the interface, and manages permissions within the limits of the OS. System proxy settings are a good example: this is usually a client toggle that changes OS settings, not a generic field you can add to any YAML file. Conversely, the core may support a field even if the interface has no dedicated editor for it. To confirm whether a setting is active, check the loaded configuration and runtime logs—not just whether the settings page has an option with the same name.

Updates: keep a configuration you can roll back to

Core updates, client upgrades, and subscription refreshes can happen independently. A core update may change how configuration is parsed; a client upgrade may change permissions or overrides; and a subscription refresh may replace group names and rules. When troubleshooting an issue after an update, preserve a working configuration and check what changed, in order. Roll back or modify one layer at a time. A discontinued client may help reproduce an older setup, but it is not a good default for long-term use. When choosing a client, prioritize release notes, OS compatibility, and access to complete connection logs.

Get the mihomo upstream source

The command below is for browsing the source code, not installing a graphical client. To check a configuration option, search the repository by field name and review the parser or example files, then compare them with the settings currently applied by your client.

git clone https://github.com/MetaCubeX/mihomo.git

Configuration and Troubleshooting Notes

Latest Clash Articles

Start with beginner FAQs to rule out configuration and connection issues, then use the interface guides to find the relevant settings. If you need to maintain rules across multiple devices, decide which parts of the configuration should be shared.

Download Clash