Start With the Symptom: Is Claude Unavailable, or Is Clash in the Path?

When Claude will not load with Clash, “the connection is broken” is a useful report only after you identify which connection failed. A blank page, a sign-in loop, an error while sending a message, and a response that stops partway through can point to different layers. The browser might not reach the site at all; authentication may fail after the landing page loads; or a long-lived response may stall after a request has already reached the service. Treating all three as a bad proxy node often leads to random changes that erase the evidence you need.

First, establish whether the problem is limited to Claude. With Clash temporarily disconnected, check that your ordinary network works and that other unrelated HTTPS sites load. Then reconnect Clash and test Claude in the same browser, using the same profile and account. If other sites also fail, look at the system proxy, active mode, or node connectivity before changing a Claude-specific rule. If the rest of the internet works but Claude alone fails, focus on routing, DNS, browser state, or service availability. A brief service outage can resemble a local configuration issue, so check Anthropic’s official service-status information before spending time rewriting rules.

Also separate access-policy problems from transport problems. Claude availability and account access can depend on the service’s current terms, supported locations, organization settings, and account status. Clash cannot make an unsupported account eligible or correct a restriction imposed by the service. Use the service only in ways permitted by applicable law, your organization’s network policy, and Anthropic’s terms. The checks in this guide are for diagnosing a legitimate connection on a network and account you are authorized to use, not for evading access controls.

ℹ Useful baseline: Record the client name, Mihomo core version, current Clash mode, selected proxy group, browser, approximate failure time, and the exact visible error. Change one setting at a time so each test has a clear result.

Check Clash Mode, System Proxy, and the Selected Node

A connected client does not necessarily mean that the browser’s traffic is going through it. In Rule mode, each request follows the first matching rule; a Claude-related hostname can therefore take a different path from a general web request. In Global mode, compatible traffic is sent through the selected global proxy group, which is useful for a short comparison test but is not a recommended permanent substitute for a deliberate ruleset. In Direct mode, the client intentionally avoids the proxy for applicable connections. Confirm the active mode in the interface rather than relying on what you remember selecting earlier.

Next, inspect the group that the relevant traffic is expected to use. A group named “Proxy” may itself contain a selector, an automatic test group, or another nested group. Make sure the selected member is actually available and that the group is not set to DIRECT or to a dead node. If your client provides connection or traffic logs, reproduce the problem and look for the destination hostname, the matched rule, and the chosen outbound. Those details are more useful than a green “connected” indicator: the indicator may only confirm that the core is running, not that Claude’s requests are using the path you intended.

Run a controlled comparison with one known-working node, then another node from a different provider or location if you are authorized to use it. Keep the mode and browser unchanged while comparing. If Claude starts working with one node and fails with another, that points toward the node, its upstream network, or the route to the service—not automatically toward the browser or subscription import. If every node produces the same result while other websites work, avoid cycling through dozens of endpoints; inspect the matched rule, DNS behavior, account state, and service status instead.

For a short diagnostic, Global mode can help answer a narrow question: does the behavior change when ordinary web traffic uses the selected proxy group rather than rule-based routing? Before switching modes, note the original setting. After the comparison, restore Rule mode and verify that the result returns or remains different. Global mode changes the path for more traffic than a single targeted rule, so do not leave it enabled as a vague fix, especially on a managed device or a network where particular traffic must follow an approved route.

Test Routing Rules and DNS Without Guessing

If the evidence points to Rule mode, use the connection log to identify the specific hostname that matched an unexpected rule. Claude’s web experience can involve more than the initial page: sign-in, application resources, API requests, and streamed responses may use separate hosts or connections. A homepage loading successfully is therefore not proof that every later request has the same route. Conversely, seeing a hostname in a browser error does not prove that it is the only host involved. Start with the entries recorded during one fresh reproduction and inspect their rule and outbound decisions.

Review rule order before adding anything. Clash generally applies the first matching rule, so a broad domain, process, IP, or catch-all rule placed above a more specific entry can decide the route before that entry is considered. Check for an existing rule-provider update, a duplicate rule, or a final MATCH rule that sends traffic somewhere other than you expect. If you make a change, keep it narrow, save a copy of the original profile, and compare the new log entries. Avoid copying a large list of guessed hostnames from an unrelated post: service domains can change, and overly broad rules can affect unrelated sites or conflict with organizational policy.

DNS is another common source of misleading symptoms. A browser may resolve a hostname through its own secure-DNS setting while the Clash core resolves other names through its configured resolver. Fake-IP handling, a stale DNS cache, or inconsistent resolver choices can make a destination appear reachable in one test and fail in another. Look for DNS errors in the client log and compare the browser’s behavior with a clean private window or a second supported browser. If you change DNS settings, change one resolver or mode at a time, restart or flush only the relevant cache using the client’s documented controls, and repeat the same test. Do not disable DNS protections or install an unknown resolver simply to make one page load.

Browser state can imitate a routing failure. If the landing page loads but sign-in loops, test in a private window, temporarily disable extensions that rewrite requests, and check whether the browser uses a separate proxy or secure-DNS configuration. Clear only the site data relevant to the failure if you understand that this will sign you out. Do not share cookies, authorization headers, access tokens, or full diagnostic logs publicly. A comparison between browsers is especially useful when one browser has a managed policy, a corporate extension, or a custom proxy setting that another browser does not share.

Run a Controlled Test: Mode, Logs, and TUN

The following sequence keeps the diagnosis small and repeatable. Do not change the profile, node, DNS mode, browser, and TUN state all at once: if the page begins working, you would not know which change mattered. Before testing, save or export a copy of your current configuration and note the time. Use a test account and device only where you are permitted to do so, and avoid sending real prompts or confidential data merely to test connectivity.

  1. Confirm the baseline. Verify that the ordinary network works, check the service’s official status information, and reproduce the Claude failure once with Clash in its current mode. Write down the exact message and whether the failure happens before sign-in, during sign-in, when sending a message, or while waiting for a response.
  2. Inspect the active route. Open Clash’s connection or traffic log, reproduce the same action, and find the relevant entries. Record the destination, matched rule, outbound group, and any DNS or connection error. If no matching traffic appears, check whether the browser uses a different proxy setting, another VPN, or an application-specific network path.
  3. Compare one known-good node. Keep the client mode, browser, and profile unchanged while selecting a node that you are authorized to use and have recently verified. Allow existing connections to close or restart the browser between tests if needed, then repeat the same action. A changed result is evidence about the route, not proof that every other node is unsuitable.
  4. Compare Rule and Global briefly. Note your original mode, switch temporarily to Global, and test the same page with the same selected group. Restore the original mode immediately afterward. If Global works and Rule does not, inspect the rule match and rule order; if neither works, continue with node, DNS, browser, and service checks rather than expanding the rules blindly.
  5. Test TUN only when the symptom calls for it. TUN can capture system traffic that does not honor the system proxy, but it adds operating-system permissions, virtual-interface routing, and DNS handling to the diagnosis. If you normally rely on TUN, verify that it is enabled, its service or driver is healthy, and no other VPN or network filter is competing for the default route. If you normally use the system proxy, do not enable TUN as a first response to a browser-only failure.
  6. Recheck and roll back. Repeat the original test after each single change, then restore settings that did not help. Keep a short record of the result so you can distinguish a repeatable fix from a coincidental service recovery or node change.

TUN is not a universal “stronger proxy” switch. It is a way of capturing traffic at the network interface, and its behavior varies with the operating system, client build, permissions, and core. On Windows, check that the client has the required privileges and that another VPN or endpoint-security filter is not taking precedence. On macOS, review the operating system’s approved network or VPN components and ensure you have not left a conflicting extension active. On Android, confirm the VPN slot is not already occupied by another VPN application. On Linux, inspect the interface and routing state using the client’s supported controls rather than applying random commands from a different distribution.

When TUN is involved, compare the client log with what the operating system reports, and make only reversible adjustments. A stale system proxy entry may affect browser traffic even after TUN is enabled; a competing VPN may capture connections first; and an application that has its own proxy setting may bypass both the system proxy and the route you expected. If a permissions prompt, network extension, or administrator policy blocks the feature, resolve that through the supported operating-system or IT workflow. Do not disable security software or alter a managed device’s routing policy without authorization.

Interpret the Results and Choose the Next Action

If other websites and Claude both fail, begin with the general connection path: confirm the selected node, client status, active mode, system proxy, and any competing VPN. If other sites work but Claude never appears in the connection log, the browser may not be using the expected proxy, or an extension or separate browser setting may be involved. If the log shows Claude traffic matched to DIRECT or to an unexpected group, correct the narrow routing decision after backing up the profile. If the expected group is selected but the connection times out on only one node, compare a verified alternative and consider node health or upstream routing.

If the page opens but sign-in fails, do not assume that changing the proxy mode is the answer. Check the account’s status, browser cookies, identity-provider prompts, system clock, and whether the organization requires a particular sign-in method. If sign-in succeeds but message submission or streaming fails, inspect the connection log at the time the request stalls; a short page load and a long-lived response do not exercise the network in exactly the same way. A repeatable timeout across different browsers and authorized nodes, while the rest of the network is healthy, is a good point to collect a minimal diagnostic summary and contact the service or network administrator.

Share only what support needs: client and core versions, operating system, mode, whether TUN is enabled, a redacted rule-match result, approximate timestamps, and the exact user-facing error. Remove subscription URLs, credentials, tokens, account identifiers, private hostnames, and any message content. Avoid posting a full configuration file without reviewing it; profiles often contain access links or personal routing details. If the device is managed, ask the administrator before changing DNS, installing another network extension, or testing a different egress path.

The most reliable fix is the smallest change that explains the evidence: selecting a healthy node, correcting one unexpected rule, repairing a documented system-proxy setting, or resolving a DNS inconsistency. A blanket tunnel, a pile of guessed host rules, and repeated subscription imports can make the setup harder to understand without addressing the cause. Compared with lightweight browser proxy extensions, Clash clients expose more useful routing decisions and logs, but that visibility only helps when you test methodically; compared with manually editing a complex profile for every symptom, Clash V.CORE offers a practical place to manage nodes and inspect routing behavior in one workflow. If you want to compare a maintained client for your setup, visit the download page and choose a build that supports your operating system and permitted use.