Technical Reference · Windows 11

Clash Protocol and Core Reference

Before choosing a protocol, check the server parameters, client core and subscription format. Once they match, compare connection speed, resource use and mobile battery life.

Installing for the first time or importing a configuration? Follow the Getting Started guide to establish a connection. If you’re already connected and changing protocols or migrating an existing setup, use the contents below. Need a client? Choose your platform in the Download Center. Clash Plus is our top pick for Windows 11.

Choosing a protocol: protocol, transport and local entry point

A proxy connection has two legs. The first runs from an app to the local core: a browser might use the system proxy, while other apps may be routed through TUN. The second runs from the core to the remote server and uses one of the six protocols compared on this page. Rules and policy groups determine how traffic is routed in between. When troubleshooting, identify where the traffic stops. If an app never reaches the core, changing the remote protocol won’t help. And if a rule sends traffic direct, the result can’t be attributed to the selected proxy node.

Start with the type specified by the server

The protocol type determines the data format the client sends after connecting and how it authenticates. The transport determines how that data gets there. For example, a VMess configuration using WebSocket is still VMess. Select a different protocol and copy over the path, and the server still won’t understand the data the client sends. A server may offer several ways to connect, but check each against the entry point it actually provides. Changing the local protocol type cannot switch you to a different remote service.

When entering settings manually, check the server address, remote port, authentication and transport separately. The server address is used to establish the network connection. With TLS enabled, the server name is used for certificate verification and may differ from the address you connect to. Some transports also require a path or request headers, which may differ from the certificate name too. If a field is labeled “host,” check which settings section it belongs to before filling it in. Don’t assume three similar-looking fields all take the same value.

Then check that the app is using the right local entry point

The system proxy only affects apps that read the system proxy settings; it doesn’t route every connection through the core. TUN uses a virtual network interface to capture traffic, with the scope determined by routing rules and the client’s implementation. It typically also involves DNS and driver permissions. If a background app isn’t being proxied, open the connections page, trigger a recognizable new request, and check whether it appears and which rule it matches. If there’s no record, start by checking the app’s proxy settings or TUN routes.

The mixed port accepts HTTP and SOCKS proxy requests from local apps; it is not a remote server port. Use the configuration below to check the local HTTP proxy entry point: load the standalone test configuration and start the core, then enter the loopback address and sample port in your browser’s manual proxy settings and visit a site that’s known to be reachable directly. This configuration sends matched requests direct. It includes no remote node and won’t enable the system proxy for your browser automatically.

mixed-port: 7890
allow-lan: false
bind-address: 127.0.0.1
mode: rule
rules:
  - MATCH,DIRECT

Before testing, check that another client isn’t already using the port. If the connections page shows no activity, make sure the test configuration is enabled and check the browser’s proxy settings for both HTTP and HTTPS requests. A direct connection record means the request reached the core—even if the page still won’t load, that doesn’t prove the protocol is at fault. When you’re done, restore your browser proxy settings and original active configuration so the test rules don’t affect everyday browsing.

Break “support” into three questions

The core needs to recognize the protocol, the client needs to pass the right fields to the core, and the subscription needs to preserve those fields correctly. Seeing a protocol name in the interface doesn’t mean the manual form includes every option. Likewise, seeing a node after import doesn’t mean it’s been added to the policy group you’re using. Check the download page and the core information in the client to confirm the feature is actually available. Then use connection records to verify that the node was selected. Only then is a performance comparison worthwhile.

SS vs. VMess: configuration and compatibility

Shadowsocks: fewer fields, but check the cipher

Shadowsocks is often shortened to SS. Originally designed for lightweight forwarding, it sends app traffic to a local proxy, which then forwards it to a remote server in encrypted form. A basic configuration needs an address, port, encryption method and key. With only a few server entry points to manage, these settings are straightforward to check and maintain. SS can also serve as a performance baseline—but only when the server locations and routes are similar, not when you’re comparing servers in different regions.

Two SS entries can use very different encryption: legacy methods, traditional AEAD methods or the Shadowsocks 2022 family. Traditional AEAD encrypts and protects the integrity of data; newer methods may require different keys and use different packet formats. Don’t treat a server-provided key as a generic password you can pad out arbitrarily. An older node may import successfully but fail to start if the current core no longer accepts its encryption method. Check which methods both sides support and get the correct parameters from the server.

Some SS entries also specify a plugin. This is not a cosmetic field; a plugin can change the outer connection. If the client keeps the address, encryption method and key but drops the plugin settings, the node may look complete while the handshake fails. Similarly, a successful TCP web request doesn’t prove UDP works. For voice or other apps that rely on datagrams, check the local entry point, protocol implementation and whether the server allows datagram forwarding.

VMess: more than protocol settings—check the transport too

VMess comes from the V2Ray ecosystem. Its design combines proxy authentication with a transport, allowing it to run over different transports. Compared with basic SS, a VMess import typically requires checking the user ID, security settings, transport type and TLS settings as well as the server and port. A WebSocket deployment may also need a path and request host name. If the client hides these fields under advanced settings, don’t stop at the name and address shown on the main screen.

Older guides may tell you to set a nonzero alterId. That applies to legacy configurations, not as general advice for new entries. Modern VMess AEAD configurations typically use a zero value; match the server’s settings. VMess authentication also depends on time. If the same entry works on one machine but not another, check automatic time settings and the last sync status under “Time & language” in Windows. Changing the displayed time zone won’t fix a system clock that’s out of sync.

If the server routes requests by host name and path at the front end, a missing path or incorrect request header can cause failure before VMess authentication. If the log reports a certificate name mismatch, first check the server name used for TLS. If the WebSocket handshake fails, check the required path. When the core doesn’t provide detailed logs, import the original subscription into a separate configuration and compare its fields with the manually entered node in the same environment.

When comparing the two, hold external conditions constant

On the same route, basic SS often has one fewer layer of transport encapsulation, which can make problems easier to isolate. That doesn’t mean SS always delivers higher real-world throughput. With VMess, the distance and load of the front-end service, along with connection reuse, can all affect results. Keep failed tests in the record too: one fast download out of ten doesn’t necessarily beat a moderately fast connection that works every time for office use. Compare reliability first, then transport overhead.

If you’re maintaining configurations already in use, prioritize preserving all parameters through subscription conversion rather than changing every node to a type with fewer fields. For an older VMess configuration that relies on a specific transport, first confirm the new client supports that combination. If the server offers a verifiable SS entry, use it as a comparison. Keeping both test entries lets you roll back more easily and makes past logs easier to understand than repeatedly overwriting one entry.

Trojan vs. VLESS: authentication, encryption and transport

Trojan: TLS protects the connection

Trojan uses TLS as its primary outer layer of protection, with proxy authentication and forwarding handled within the established session. A typical entry includes the server address, port, password and server name. Unlike protocols where you choose from several data-encryption methods, everyday maintenance depends more on the certificate, host name and server-side TLS settings. The basic setup typically uses TCP; if the server requires another transport, follow its actual configuration.

The client may connect to an IP address while the certificate is issued to a domain. Preserve the TLS name specified by the server rather than replacing everything with an IP to simplify the configuration. If a previously working connection suddenly reports a certificate error, check the system clock, certificate validity and name match first. If only one website triggers a browser error and the proxy log shows no handshake issue, investigate the website’s certificate and local network software separately. Don’t conflate errors at these two layers.

Sending later requests over an established session is a different test from making the initial connection. Browsers may also reuse a connection to the destination site or serve cached content when testing a page. Record first and repeat visits separately when comparing protocols. A slow first visit may be due to DNS, dialing or TLS; consistently slow visits may point to route load, congestion or upstream throttling. A single total-time figure makes it hard to tell which part needs fixing.

VLESS: a lightweight protocol that depends on matching outer security settings

VLESS emerged in the V2Ray ecosystem and its successors. It keeps the proxy protocol layer lightweight, leaving transport and outer protection to the specific combination in use. Many common configurations authenticate with a user ID and protect traffic with an outer layer such as TLS or REALITY. Don’t assume the whole connection is unprotected just because the basic encryption field is set to none. Likewise, a node name containing “TLS” doesn’t prove TLS is actually enabled.

VLESS compatibility issues most often come down to the combination of settings. Transport type, outer security and flow control each serve a different purpose. “The core supports VLESS” only confirms it can recognize the base protocol; it doesn’t guarantee support for the transport and flow control specified in a subscription. For REALITY, preserve the relevant server-provided parameters, such as the public key and short ID. If the imported entry doesn’t show these fields, first determine whether the interface lacks an editing option or the fields were dropped during import.

A WebSocket path, TLS server name and VLESS flow-control setting can’t be inferred from the node name. An empty field may also be exactly what the server requires. Don’t fill in a field with the same-named value from another node. For migration, keep an isolated copy of the original configuration and verify the transport combination actually in use. Getting one simple combination to work doesn’t prove the same core supports every other combination in the subscription.

Troubleshoot at the layer where the error occurs

If every site fails and the log reports a certificate error as soon as the remote connection starts, check the server name, trust chain and system clock first. If authentication fails only after the outer connection is established, check the password or user ID. If small requests work but large files or a particular type of app are unreliable, investigate the transport path, concurrency and whether the traffic uses UDP. A step-by-step approach changes one variable at a time instead of changing the protocol, port and system settings all at once.

For everyday use on a relatively stable network, start with an entry that has complete, clearly documented settings. A basic Trojan entry is often straightforward to check. When the server provides a specific transport combination, VLESS can retain more of the settings needed to match it. In both cases, follow the server’s configuration. If your browser shows an HTTPS warning, see Common causes of certificate errors and how to troubleshoot them to distinguish a destination-site error from failed proxy authentication.

Hysteria2 vs. TUIC: QUIC benefits and limitations

First, check the UDP path to the server

Both Hysteria2 and TUIC use QUIC over UDP. QUIC combines encrypted handshakes, reliable delivery and multiplexed streams in one connection. Unlike multiple requests sharing a single ordered TCP byte stream, packet loss on one QUIC stream doesn’t necessarily make unrelated streams wait for the same missing data. Streams in a connection still compete for bandwidth and are subject to congestion control, though. So performance may be more consistent on a poor network, but it won’t be faster on every network.

Whether a local app generates UDP traffic and whether the proxy core uses UDP to reach the server are two separate questions. For example, a browser can send an HTTP proxy request to the local mixed port while the core forwards it over QUIC to the remote server. Conversely, a successful QUIC handshake doesn’t prove the app’s datagrams can reach the local entry point. If name resolution fails, a connection times out or only one app is affected, check destination lookup, local traffic capture and remote transport separately.

Hysteria2: focus on throughput and congestion settings

Hysteria2 continues the Hysteria series’ focus on maintaining throughput over high-latency, lossy links, but it’s a distinct second-generation protocol. You can’t reuse a first-generation entry by simply renaming it. When importing, check the version-specific protocol type, address, port, authentication and TLS name. If the server provides additional settings, import those as specified. A mismatch between server settings and values automatically filled in by the interface can lead to a false diagnosis of the route.

Bandwidth settings relate to congestion control. They’re not the speed of your internet plan, and higher isn’t always better. Implementations that support these settings may use different congestion-control behavior when a bandwidth value is specified; actual behavior also depends on server policy. Setting it too high can build queues and increase retransmissions, so large downloads may look fine while web pages respond more slowly. If you don’t have reliable measurements, keep the server-provided value or implementation default and check whether repeated requests and long transfers both remain stable.

TUIC: focus on connection reuse and datagram settings

TUIC is designed to carry multiple proxy streams over a QUIC session and handle datagram forwarding. Its parameters vary by protocol generation and implementation; common settings include a user ID, password, TLS and congestion control. Even if both client and server say TUIC, check the protocol generation and field definitions. Don’t combine two authentication fields into one value or copy a field from an older version into the current form.

Resuming after sleep, moving between Wi-Fi access points and switching from Wi-Fi to mobile data can all change the route or local IP address. QUIC supports connection migration, but whether an active proxy session survives depends on the client, server and network. A single desktop speed test can’t tell you whether a phone will stay connected with its screen off. Test mobile behavior separately: check the first request after resuming, whether apps can keep sending and receiving, and whether the client log repeatedly shows new sessions.

Keep a working TCP entry as a control to help distinguish a UDP path issue from a general server outage. If both entries fail, check DNS resolution, certificates and server status. If only the QUIC entry fails, compare different access networks and note whether the failure occurs during the handshake or after connection. If the connection works but has to reconnect after every idle period, look into network mapping timeouts and the implementation’s keepalive behavior—not just a higher sending rate.

Speed, resource use and mobile battery life

Measure speed by time to first response, throughput and reliability

A useful protocol comparison records at least three things: how long a cold connection takes to load a page, the sustained throughput during a transfer, and how often repeated attempts fail. A typical node latency test uses one test URL and may include DNS lookup and handshake time. It doesn’t tell you the geographic distance to the remote server or how a target app will perform. Automatic selection in a group is better for checking reachability to the test URL than for choosing a setup for video calls or file sync.

What to compare for each protocol
ProtocolFactors that affect performanceRecommended comparison
ShadowsocksEncryption implementation, plugins and remote routeTime to first response and sustained throughput with a basic configuration
VMessAuthentication, transport layer and optional TLSNew connections and repeat visits with the current deployment
TrojanTLS handshake and underlying routeFirst handshake versus subsequent requests
VLESSActual transport, outer security settings and flow controlCompare the specific connection setup, not just the protocol name
Hysteria2UDP reachability, congestion control and bandwidth settingsThroughput and concurrent first-response time on a lossy route
TUICQUIC session and UDP forwarding implementationConcurrent requests, connection recovery and datagram-based apps

Use the same device, network, approximate time of day and test target whenever possible. Keep routing rules, DNS mode and local entry point fixed, and check the connections page to confirm each run uses the intended node. If the two entries use different hosts or data centers, your results reflect those two routes—not a protocol ranking. For long transfers, check the speed during the stable phase and note any brief outages during peak hours.

Alternate tests rather than finishing every run for one configuration before moving to the next. For first-visit tests, use separate sessions without connection reuse and make sure the content isn’t coming straight from the browser cache. For everyday use, keep connection reuse enabled and observe a real workload. Record the number of successful attempts, typical duration, longest wait and failure stage. This is more useful for review than a screenshot showing only the best result.

Desktop: separate core load from interface load

In Windows Task Manager, monitor the graphical client and core process separately. A constantly refreshing log, a frequently redrawn connections page or background speed tests can all keep the GUI process busy. To compare cores, keep the log level, test concurrency and entry point consistent. TUN also captures more traffic. If one run uses TUN and another only the system proxy, the difference may mainly reflect what traffic is being captured—not how the protocols are implemented.

A high CPU peak that ends quickly doesn’t necessarily use more resources than a moderate load sustained over time. Check three phases separately: idle, multiple connections and a long transfer. Memory use also depends on rule sets and connection buffers, so a fresh restart isn’t directly comparable to several hours of uptime. If switching only the rule set causes a noticeable difference, check the rules and connection count before blaming a protocol for persistent memory use.

Mobile: background wakeups matter more than the protocol label

Battery use depends not only on encryption and decryption but also on how often the wireless radio wakes, how stable the signal is and whether connections keep rebuilding. Frequent keepalives, overly short automatic speed-test intervals and continuous retries after a network switch can keep a phone active. QUIC recovery and connection reuse may reduce repeated handshakes, but user-space processing, datagram retransmissions and keepalives also have a cost. No protocol should be labeled inherently battery-saving or battery-draining.

On the same phone, compare screen-on use with screen-off standby while keeping brightness, client behavior and app workload fixed. Test stable Wi-Fi first, then repeat on mobile data; don’t also change battery optimization or speed-test intervals between runs. Along with the battery percentage, check the system’s background activity breakdown and the client log for clusters of reconnects. If standby drain remains different, test keepalives, background tasks and route quality separately.

Core history: original Clash, Meta and mihomo

Distinguish the client name from the core actually running

The graphical client imports, displays and switches configurations. The core reads the configuration and handles parsing, rules and outbound connections. Two clients can both use mihomo yet offer different setting names, override behavior and update policies. Conversely, clients with similar-looking names may bundle different cores. Before migrating, check the actual core in the client’s settings, About page or startup log, then interpret the configuration based on the fields it supports.

The original Clash established a familiar configuration structure: proxy nodes, policy groups, rules, DNS and local listeners are managed through separate fields. Later forks kept many of these concepts while gradually adding protocols and networking features. Historical Clash Premium releases also offered extra capabilities, so “this old configuration works in a Clash client” doesn’t mean it uses only features from the original open-source core. Knowing where the configuration came from is more useful than checking its file extension alone.

Clash.Meta developed as a fork within the Clash configuration ecosystem and was later continued under the name mihomo. Newer outbound protocols, more granular rules, DNS options and TUN capabilities were added over time. The naming history is not a compatibility guarantee: an older Meta core may not recognize newer fields, while a newer core may load more configurations without preserving every older default behavior. To assess compatibility, check the implementation that’s actually running and what it has loaded.

For migration, check the structure first, then verify what happens at runtime

Save a copy of the original configuration and app settings first. Import under a new configuration name so you don’t overwrite a setup that’s already working. On first launch, check for parsing errors and missing references. Pay particular attention to duplicate node or policy group names, a missing final fallback rule, and whether rule sets and node lists loaded successfully. If you see a “reference not found” error, check the configuration name and source first instead of hiding the issue by turning off rule mode.

Passing syntax checks isn’t enough: you still need to verify routing, DNS and traffic capture. The client may pass a merged configuration to the core, and the app may override ports, DNS, TUN settings or rule order. If manual edits to a downloaded file don’t appear to take effect, check whether you edited the active configuration’s source and whether the client has a separate override setting. Comparing the startup log with a real connection is more reliable than checking a YAML file on disk alone.

Migrate DNS and routing separately where possible. Keep the local entry point that already works, confirm common apps use the intended policy, then check DNS mode, filtering and upstream DNS. Enable TUN or change its routing behavior last. If internal network names stop resolving after migration, check DNS scope and routing before changing the remote node. For virtual response addresses and domain matching, see Fake-IP vs. Redir-Host.

Choose a client based on platform and maintenance status

For Windows 11, start with the Windows section of the Download Center. Clash Plus is our top pick. To compare interfaces or configuration management, also consider Clash Verge Rev, FlClash or Clash Nyanpasu. Clash for Windows is no longer maintained; use it as a reference for the older interface and configurations, not to judge current protocol options. Check your system architecture before installing. Being able to install an app and having its core parse your configuration are two different things.

When switching tools, don’t drop the entire data directory from the old app into the new one. Caches, policy selections, override files and interface preferences may be stored in different places, and some aren’t standard core configuration. Migrate the base YAML and a verified subscription source, then re-enable the system settings you need. Once the new setup passes everyday checks, disable the old client. In particular, don’t let two processes compete for the same local listening port.

Subscription formats: full configurations, node lists and share links

Distinguish the subscription URL from the content it returns

A subscription link is an address for retrieving content, not a content format in itself. Different services may return a full Clash-style YAML file, a node-only list, an encoded collection of share links or a configuration for another type of client. The same URL may also return different results depending on request details. If import fails with an unsupported format, check the output type the service provides and what the client expects. The URL suffix or the fact that a browser can open it doesn’t prove compatibility.

Besides nodes, a full configuration may contain policy groups, rules, DNS, listener settings and external resource references. A node list usually needs to be referenced by a main configuration, then added to a policy group to become selectable. With a single share link, the client may be able to add a node, but it can’t recreate the original subscription’s DNS and routing rules on its own. If a policy group has fewer options after migration, first check which layer of content you originally imported, then decide whether you need to link the source again.

A subscription request can succeed while parsing fails—for example, if the response is a login page, an expiration notice or some other text. Check the request status and parsing stage in the client’s update log before changing protocols. If the response is valid YAML, check that its top-level structure matches the import method. A full configuration and a node source may both use YAML but still need to be loaded in different places. Once you have the right format, compare the node count and key fields.

When converting, check the settings most likely to be lost

Share-link parsing rules aren’t always consistent. A converter may recognize a protocol name without understanding that combination’s TLS name, WebSocket path, flow control or datagram settings. If every converted node times out, compare a known-working entry with the original: protocol, transport, authentication and security settings. Don’t compare nodes by their remarks alone; two entries with the same name may point to different addresses or use different transports.

Some clients preserve unknown fields and pass them to the core, while others first parse entries into their own node objects. In the first case, a field that’s missing from the form may still work. In the second, editing and saving may drop it. To find out, test the raw import in a separate configuration, then test the result after editing and saving. If the first works but the second doesn’t, preserve the original configuration’s loading path rather than rebuilding the entry over and over.

If a full configuration references external rule sets or node sources, check that each can update independently. A successful download of the main configuration doesn’t mean its references are ready. Old cached data may work until you use a new device or the next refresh. When validating a new environment, recheck the update status of each source, make sure policy groups have the expected options, and send a real request to confirm the rule selects the intended outbound.

Manage updates and rollbacks

A subscription update may rename entries, remove nodes or reorganize groups. Don’t identify a node by its position in the list. Keep the current working configuration and create a separate test configuration to preview updates. Confirm policy groups still reference the right names and check the fallback routing. If the client supports overrides, keep local settings in the override layer so the next update won’t replace them with remote content. Note the original override order before making changes.

After enabling a new subscription, test with an ordinary web page whose rule match you can verify, then check your everyday apps. If only one policy group is affected, check that it still has the right source and working nodes. If all groups are affected, return to the old configuration and confirm the local port, DNS and network still work. To find your way around, see What the Proxy, Profiles and Logs pages are for instead of looking for subscription updates on the Proxy page.

Use cases and troubleshooting

Desktop work and large file transfers

For office browsing, prioritize quick page loads and a stable connection. On a reliable network, if the server offers basic SS or Trojan, start with an entry whose settings are complete and easy to verify. If the server only offers VMess or VLESS, import it with the original transport combination rather than switching protocols just to reduce the number of fields. First confirm office sites match the intended rules. If a site is set to connect directly, proxy speed tests won’t explain changes in its response time.

Large file sync and multi-request workloads depend more on sustained throughput and how well other pages respond at the same time. If the network allows UDP and the server supports it, compare Hysteria2 or TUIC with an existing TCP entry. Test both uploads and downloads, and watch for small requests slowing down during heavy transfers. If UDP isn’t reachable, use a TCP option the server explicitly supports. You can’t turn the same QUIC entry into TCP by changing the client’s local port.

Voice, mobile networks and shared connections

Voice calls, meetings and remote collaboration are more sensitive to latency spikes and interruptions. First check whether the actual traffic needs UDP, then verify local capture, policy matching and remote forwarding. If an app doesn’t use the system proxy, a website working in your browser doesn’t prove meeting traffic has reached the core. After enabling TUN, use the connections page to confirm traffic is being captured, and make sure changes to routing haven’t affected company intranet services, shared devices or traffic that should connect directly.

For mobile, compare three things first: background activity with the screen locked, recovery time when switching networks, and whether everyday apps remain usable on a weak signal. A one-off speed-test win doesn’t guarantee a better long-term experience. If desktop and phone share a subscription, they can share candidate nodes without sharing the same speed-test interval, traffic-capture mode or preferred node. Check the Download Center for client availability and system requirements on each platform.

Let the symptoms guide your next step

If import itself fails, check the subscription structure and core fields first. If import succeeds but an app’s request doesn’t appear in the connection list, check the local entry point. If the record shows a direct connection or a different proxy, check rule order and policy selection. Only after confirming the traffic reached the intended outbound should you focus on the remote address, port, authentication, certificate and transport settings. Change one thing at a time and repeat the same request to verify the result.

If some Microsoft Store apps on Windows can’t access the local proxy but a regular desktop browser can, first check whether the app is affected by restrictions on accessing loopback addresses. This has nothing to do with remote protocol speed, and changing nodes won’t help diagnose it. See Windows UWP loopback restrictions. If only one machine is affected, also compare system time, security software behavior and the process actually listening on the local port.

If the connection works but one website doesn’t, test another known-working site, then check which rule handles the problem site and whether DNS returns an address that matches the current mode. If no websites work, switch back to a known-good configuration to find out whether the client environment changed or the new entry is at fault. When rolling back, restore the app-level settings too: the old configuration may be active while the browser still points to a temporary test port.

Keep a brief record of the working setup: core name, actual transport, local entry point, test network, apps that work and observed failures. Use it to verify the most important workflows after future subscription or client updates. For terminology, see the Quick Reference. To check installation, import, mode and connectivity from scratch, follow the Getting Started guide; retracing the main steps is more useful than trying protocol types at random.