Separate the protocol, transport, and traffic entry point
A protocol defines how the two ends communicate
When a client forwards an app’s connection to a proxy server, both sides need to agree on how to authenticate users, pass the destination address, and encapsulate the data that follows. That agreement is the proxy protocol. Shadowsocks, VMess, and Trojan are protocol names—not client or server-location names. If a web page loads at an address, that only confirms the web service there is reachable; it says nothing about whether the proxy port works. A client may let you select a type manually, but choosing a new type won’t convert an existing server. The server must already provide an endpoint for that protocol.
The transport describes how proxy messages travel across the network. TCP provides a reliable, ordered byte stream; UDP sends datagrams without guaranteeing delivery or order. QUIC runs over UDP but can provide reliable streams, congestion control, and encrypted connections. So a QUIC-based proxy can carry traffic that requires reliable delivery—“runs over UDP” does not mean “only suitable for voice or gaming.” Conversely, an app using UDP does not mean the connection between your client and proxy server must use UDP. The proxy can encapsulate those datagrams in another transport.
The same protocol can use different settings
In VMess or VLESS nodes, options such as TCP, WebSocket, and gRPC specify the node’s transport or encapsulation method—not interchangeable speed settings. WebSocket usually requires the correct path and may need the hostname specified by the server; gRPC typically requires the correct service name. With TLS enabled, the server name and certificate validation must also match the server’s requirements. The dial address locates the server, while the TLS server name verifies its identity. They can differ, so don’t assume they should be the same.
When checking a node manually, start with its type, server address, and port. Then verify identity and encryption settings, followed by transport, certificates, and optional extensions. Import screens often show only the first few fields, while omitted values may be filled in by kernel defaults. When a connection fails, comparing the effective values in both configurations is more useful than comparing node display names. Preserve path capitalization when copying settings, and don’t treat disabling certificate checks as a universal fix.
Test traffic capture separately from the server connection
System proxy settings usually rely on apps choosing to use the proxy configured in the operating system. TUN uses a virtual network interface to pass packets that match routing rules to the kernel. Both describe how local traffic enters the client. Enabling TUN won’t change the remote protocol or give a node UDP forwarding capabilities it didn’t already have. If a browser can load a site but a desktop app can’t, first check whether the app uses the system proxy instead of immediately switching nodes or changing encryption.
Once traffic reaches the kernel, rules determine which route it takes. Rule mode may select a direct connection or another node in a proxy group. Reproduce the issue in the same app, then check the connection log for the destination domain, matched rule, and actual route. If there’s no entry, check local traffic capture first. If the log shows a direct connection, check the rules. Only after confirming the request uses the intended node should you suspect the remote protocol. This sequence avoids changing DNS, routing, and node settings all at once and making the results impossible to interpret.
Shadowsocks and VMess: choosing between existing configurations
Shadowsocks: match the cipher and plugin settings
Shadowsocks is often shortened to SS. It was designed as a lightweight encrypted proxy: the client wraps the destination and payload, then sends them to the server, which opens the onward connection. When both ends are already set up without an extra transport layer, configuration usually comes down to the server address, port, encryption method, and password. Having fewer fields makes it easier to check and useful as a troubleshooting baseline, but not every server labeled SS supports the same features.
Older configurations may use legacy stream ciphers, while newer common options use authenticated encryption, which protects the content and detects tampering. Shadowsocks 2022 is a separate set of specifications with specific requirements for method names and key format and length. Older clients may not recognize these methods, and changing the method name manually won’t change the server. If you see “method not supported” or “invalid key length,” check the server’s requirements and the current kernel’s support. Don’t try padding the password to an arbitrary length.
Some SS configurations specify a plugin and plugin options. Without the required plugin, a node can fail even if the address and password are correct. When moving a node to another client, check that its kernel supports the same plugin and options. A successful browser connection only confirms that particular type of traffic works. If your use case needs datagram forwarding, separately confirm that the server, node configuration, and local entry point all support it, then test with the app you actually use.
VMess: check identity and transport settings against the existing setup
VMess developed alongside the V2Ray ecosystem and is suited to connections deployed to the same specification. It uses a user ID for authentication; common configurations also include security, transport, and TLS options. VMess has more configuration fields than a bare SS setup, and two VMess nodes may use different transports with different hostname, path, and certificate requirements. Checking only that the user ID survived import won’t catch transport fields lost during conversion.
Older guides often mention legacy fields such as alterId. Modern VMess AEAD configurations typically use a zero value to indicate that no additional ID is used, but don’t change every old configuration to this format and expect it to work. Check the server’s authentication method first, then confirm the client supports it. VMess authentication also depends on time. If other protocols work on the same device but a migrated VMess node fails after waking from sleep, check the system clock and automatic time sync before investigating transport settings and logs.
You don’t need to reconfigure a working service just to change protocols
If your existing SS service handles your needs reliably, switching to VMess won’t necessarily make connections faster. Handshakes, transport, server location, and load all affect performance. Likewise, if you already have TLS-enabled VMess working across several clients with valid certificates and paths, there’s no need to move to SS just to reduce the number of fields. A more useful comparison is who maintains the configuration, how reliably it can be updated, and whether the same required settings work on both mobile and desktop. Try a backup endpoint only when there’s a real feature gap or a repeatable performance issue.
When troubleshooting a migration, keep the working configuration in the original client and don’t delete the old subscription first. Import one node into a temporary configuration and compare its type, authentication method, transport, and TLS settings field by field. If the temporary setup fails but the old client still works, suspect the import process or kernel differences first. If both fail, check the domain, server status, and network path. Comparing both setups is more useful than repeatedly trying different protocol types.
Trojan and VLESS: authentication and transport security
Trojan: check TLS before the password
Trojan’s basic design authenticates within a TLS connection using a value derived from the password, then passes the destination address and application data. For setup, authentication and transport security are separate layers: the proxy password identifies the user to the server, while the certificate lets the client verify the server’s identity. Neither replaces the other. Don’t enter the password in the TLS hostname field, and don’t skip certificate verification just because you entered a password.
If the TCP connection succeeds but the log reports a hostname mismatch, check the TLS server name provided for the node, the domain covered by the certificate, and the device clock. The server address might be a numeric IP while the provider specifies a separate domain for TLS; keep both values in that case. If the certificate chain can’t be verified, check that the server is providing a complete chain, the device time is correct, and any private certificate authority is properly trusted. Disabling verification won’t fix an incorrect hostname and removes the ability to verify the server’s identity.
Some implementations support Trojan endpoints with additional transport layers beyond the standard setup. Check the actual configuration for these subscriptions; don’t assume every client that supports basic Trojan also supports its extensions. If import leads to an authentication error, first confirm the log shows TLS completed, then check that the password, port, and endpoint belong to the same node. If only TCP web traffic works, don’t assume all UDP apps will work through the same endpoint.
VLESS: the protocol name alone doesn’t define the security setup
VLESS originated in the V2Ray ecosystem and continued to develop in implementations such as Xray. Common deployments configure the proxy protocol’s identity and destination fields separately from external transport security; the user ID is usually a UUID. In common traditional configurations, encryption: none means only that VLESS itself uses no separate encryption. That line alone can’t tell you whether the whole connection is protected. Also check for TLS, REALITY, or another security mechanism, and use the fields both ends actually support.
Some VLESS nodes also specify flow, while others rely on a WebSocket path or other transport settings. A flow extension isn’t a standalone speed toggle; support depends on the server implementation, connection setup, and client kernel. When switching clients, check each setting against the original node rather than copying parameters from another working node. In particular, converting a share link to YAML may import successfully without preserving every extension field. If the connection drops immediately, inspect the converted configuration locally and compare the handshake errors.
Keep a reference when renewing certificates or switching devices
If your provider offers both Trojan and VLESS, first consider which devices need long-term support. A standard TLS-based Trojan setup may be easier to use across multiple clients, provided they all support the transport the provider uses. VLESS may be a better fit for an existing extended setup, but migration requires keeping more fields intact. Once both setups connect, compare wake-from-sleep recovery and repeated small requests. Don’t treat “uses TLS” as a performance ranking. For certificate-based setups, also make sure renewal won’t break verification on your everyday devices.
Hysteria2 and TUIC: QUIC-based connections
Hysteria2: set bandwidth limits to match your connection
Hysteria2 targets links with high latency or packet loss and uses QUIC over UDP. Independent reliable streams in QUIC can prevent packet loss in one stream from holding up others, but they can’t eliminate retransmissions, server queues, or the limits of shared bandwidth. On a stable network with small transfers, the handshake and app response may account for most of the time. Differences in congestion control are more likely to show up during sustained transfers over a variable connection.
Hysteria2 and the earlier Hysteria are different protocol versions. Generic references to “Hysteria” in old nodes or guides don’t identify which version a node uses; check the explicit type and configuration from the server. Client settings often include suggested upload and download bandwidths. Actual congestion control also depends on server policy and kernel implementation. Setting these values far above your connection’s real capacity won’t increase bandwidth; it may cause queuing and jitter or crowd out other devices on the same link. Check the actual load first, and use the implementation’s recommended defaults as a starting point if you’re unsure.
When configuring a node, check the authentication details, TLS server name, and port first, then confirm whether the server requires additional options. Some networks handle TCP and UDP differently: working HTTPS doesn’t prove QUIC can reach the same server address. If the client keeps timing out, try the same device on a different network for comparison. If only one network fails, check UDP reachability there instead of repeatedly changing authentication fields. If both networks fail, check the server endpoint, kernel support, and certificate in that order.
TUIC: check the protocol version and datagram forwarding mode
TUIC also runs over QUIC and supports reliable streams and datagram forwarding. Compared with a basic web test, real-time communication and apps that use many UDP sessions are more likely to expose datagram compatibility issues. TUIC has incompatible protocol versions, so the client must support the same version as the server. Older and newer implementations may require different identity fields; don’t mechanically rename old fields and assume the result works with another version.
Some TUIC implementations offer a UDP forwarding mode or congestion control options. Before choosing a mode, check whether it uses QUIC datagrams, puts datagrams into reliable QUIC streams, and is supported by both ends. Reliable delivery suits data that must not be lost, but real-time messages can be just as useless if they arrive late. Test with the app that needs the feature and check for frequent drops during longer sessions before changing settings. Don’t switch these options based on a single speed test.
Choosing between the two QUIC options
For long uploads or downloads, and when you can control both ends, compare Hysteria2 with your existing TCP setup on the same network. If you need datagram proxying for an existing app and both the server and kernel explicitly support the required TUIC version and forwarding mode, test TUIC first. If you often switch from home Wi-Fi to cellular or leave your device asleep for long periods, focus on reconnection and compatibility. QUIC can support connection migration at the protocol level, but the proxy implementation, network path, and platform policies can all affect the result. Don’t assume an app session will always survive a network switch.
Keep a tested backup endpoint, especially if you switch between office and guest networks. Record initial connection and wake-from-sleep results separately, and make sure a previous test isn’t reusing a connection that’s still active. That way, even if one protocol is faster in a particular setting, you won’t mistake a result from one environment for an inherent protocol advantage.
Connection speed, resource use, and mobile battery life
Test initial connections, sustained transfers, and reconnects separately
Opening a page for the first time involves local DNS resolution or mapping, establishing the proxy connection, and waiting for the destination service. On a second visit, an existing connection or browser cache may skip some of those steps. Large file transfers are about sustained throughput; voice and remote desktop depend more on jitter, packet loss, and brief interruptions. A latency test in the client usually sends one request to a test target, so it can’t replace these real-world checks. For details on what affects the numbers, see how node latency tests work.
For a fair comparison, use the same device, network, destination service, and content size. If nodes are in different regions or run on different servers, you’re comparing those specific endpoints—not ranking protocols in general. Alternating tests makes time-of-day differences easier to spot than testing one whole set before the other. Record initial and repeat requests separately, noting whether each started on a fresh connection. Count timeouts as failures; don’t just pick the fastest successful result.
| Task | What to check first | Common sources of misleading results |
|---|---|---|
| Short web pages and API requests | First response on a new connection and failures across repeated requests | Caching, connection reuse, and DNS location |
| Sustained uploads or downloads | Steady-state throughput and recovery from interruptions | Server throttling, Wi-Fi signal, and concurrent tasks |
| Real-time apps | Jitter, brief interruptions, and datagram compatibility | Testing web pages only, not the app itself |
| Extended mobile use | Battery drain while the screen is off and recovery after unlocking | Signal changes, sync tasks, and background permissions |
Separate protocol overhead from client overhead
Encryption and decryption, data copies, and logging all use CPU resources. Timeouts and retransmissions can also keep the CPU busy for longer. The same protocol may use hardware encryption and kernel optimizations differently on different devices, so its name alone can’t tell you how much it will use. Busy QUIC connections may require more user-space packet processing; with frequent short connections, another transport may use more resources by repeating handshakes. Compare idle and active-transfer use separately, and distinguish the client interface from the proxy kernel process.
Memory use isn’t determined by the protocol alone. Large rule sets, buffers for active connections, periodic proxy-group checks, and UI rendering can all add up. To compare desktop clients, keep rule sets, log levels, and traffic entry points consistent, close extra UI panels, and observe the kernel process at idle and under load. If the difference appears only with TUN enabled, first check whether it’s capturing traffic from more background apps. Otherwise, you might mistake the extra traffic for a heavier protocol.
On phones, check background wakeups and signal conditions first
On a phone, battery drain isn’t just about encryption. Frequent speed tests, connection keepalives, or repeated reconnects on a weak signal can all keep the wireless radio from entering a low-power state. To compare two setups, use similar signal conditions and screen-on time, then compare system battery records for active use and screen-off standby. Avoid extra tasks such as software updates during the test, and don’t compare a cellular result with a Wi-Fi result. If the difference is small and hard to reproduce, prefer the setup that’s reliable and easy to maintain.
If battery drain is unusually high with the screen off, check whether the client is probing multiple nodes frequently and whether TUN is capturing traffic from many apps. If standby drain is normal but you have to reconnect manually after unlocking, check whether the OS is suspending background connections. These problems need different fixes. Don’t disable essential traffic capture to save power, and don’t remove all background restrictions just to prevent disconnections. Change one setting at a time and observe it under the same conditions.
Original Clash, Meta, and the mihomo kernel
The same ecosystem doesn’t mean the same features
Original Clash established a configuration structure used by many clients, including proxy lists, groups, and rules for selecting an outbound connection. Clash.Meta grew out of this ecosystem, adding more protocols and networking features; mihomo is the project’s later name. This family history explains why many older configurations still load in newer kernels—and why the reverse often isn’t true. Being able to import basic YAML doesn’t mean a kernel can handle every node type, transport extension, or DNS setting in the file.
The client handles the interface and platform integration; the kernel parses configuration, matches rules, and establishes connections. Different clients may use the same kernel but vary in system proxy controls, wake-from-sleep behavior, subscription management, or override support. Conversely, clients with Clash or Meta in their name don’t necessarily use the same kernel generation. Check the kernel name and build information on the client’s About page, kernel management page, or startup log rather than relying on the window title. If the app can switch kernels, confirm which one is running your current configuration.
Choose a client for your platform, then verify it meets your needs
If you’re choosing a client for the first time, start with Clash Plus on platforms where it’s available, then consider other projects based on your system integration needs and protocol settings. For desktop options such as Clash Verge Rev and FlClash, see the client comparison. On Android, compare Clash Meta for Android, FlClash, and Surfboard. When you’re ready to install, choose by operating system and processor architecture on the download page. Don’t assume another client has an installer for a platform just because one client supports it.
Archived versions of Clash for Windows and ClashX Meta are better suited to checking old configurations than validating new protocol extensions. Before migrating, keep the working original file and let the new client load a separate copy. If the new client reports an unknown field, first identify whether it’s a node transport, rule data, DNS, or local traffic-capture setting, then check whether the implementation supports it. Don’t delete the whole section: removing a required transport field can make a configuration load while every connection still fails.
Use a minimal configuration to separate load errors from remote issues
If you already have mihomo on the command line, save the following as a separate config.yaml, then run the check command below from that file’s directory. This example provides only a local proxy endpoint on the loopback address and routes all matching traffic directly; it doesn’t replace your existing subscription. If you decide to start it for testing, check that no other process is using the port and that the GUI isn’t overriding this test with its own configuration directory.
mixed-port: 7890
bind-address: "127.0.0.1"
allow-lan: false
mode: rule
log-level: warning
rules:
- MATCH,DIRECT
mihomo -t -f ./config.yaml
A successful check only means the kernel invoked this time can load the configuration. It doesn’t confirm that remote credentials are valid or the domain is reachable, and it doesn’t prove the GUI uses the same kernel. With a full configuration, external rule data and local resource paths can cause additional errors. If even the minimal configuration won’t load, check the working directory, device permissions, and executable first. If the minimal configuration works but the full one fails, narrow down the problem using the log. If the client won’t open, use the startup crash troubleshooting checklist to distinguish port conflicts, permissions, and configuration issues.
Subscription formats, migration checks, and choosing for your needs
A subscription URL, a node list, and a full configuration are different things
A subscription URL is a source from which a client retrieves content. The same source may return different formats depending on the endpoint or request. A full Clash YAML file often includes nodes, proxy groups, and rules, and can be used directly as a configuration. A proxy-provider format usually supplies only node data, which a main configuration must reference and connect to a proxy group. Another type of subscription returns a list of share links, sometimes wrapped in Base64. Being able to recognize one share link doesn’t mean the client can use the whole list as a complete Clash configuration.
If a subscription downloads successfully but shows no nodes, check the client’s error details and the response content type. If the response is actually a login page or server error, ask the provider to confirm the endpoint and authorization instead of changing YAML indentation. If it’s a provider format, check that it was added as a proxy provider and referenced by a proxy group. If it’s a list of share links, confirm the client supports bulk import. Encoding doesn’t mean encryption. Don’t post an accessible subscription URL, node details, or decoded content on a public forum.
After migration, check references, connections, and updates
Before migrating, save a local copy and note which node, proxy group, and app you’ve verified works. After migration, check the node type and required settings, then confirm every proxy group reference points to an existing entry. Even if the node list looks complete, a converter may rename nodes with duplicate names, ignore a transport extension, or fail to migrate rule references to a proxy group. The result can be traffic going through the default route: the client appears connected, but it isn’t using the node you intended to compare.
When refreshing a subscription, keep track of what comes from the server and what you changed locally. A regenerated server configuration may overwrite locally edited rules or nodes. If the client supports overrides or merging, keep long-term local rules in a separate layer and check the rule order. If rule data updates from the provider, also verify that proxy group references still work. Test a manual refresh before enabling automatic updates, so a later refresh doesn’t break a working configuration without you noticing.
Choose based on how you use it, not which protocol is newest
For web browsing, messaging, and everyday work, prioritize existing nodes that all your devices can parse, that work reliably on your networks, and that are easy to maintain. If the server offers only one protocol, test it with the apps you actually use; there’s no need to switch based on theoretical performance. For large file transfers, compare sustained throughput and interruptions at the same time of day. Try Hysteria2 or TUIC only when UDP is available and both ends explicitly support them. For real-time apps, first confirm datagrams pass through the local entry point, rules, and remote node, then focus on reconnects and jitter—not just the latency readout.
If you travel often or switch between devices, use a widely compatible endpoint by default and keep configurations with extra fields or greater UDP reliance for when you need them. Record which device and network failed, and whether the issue occurred during import or handshake, to tell a global configuration problem from an endpoint-specific one. If you changed TUN or DNS settings, rule out DNS and routing differences first. See the DNS leak and configuration guide to check the resolution path, or look up the symptoms in the FAQ.