Clash Connected but Websites Won’t Load: System Proxy, DNS & TUN Troubleshooting Checklist
When the client is running but pages won’t load, check system proxy routing, DNS, rule matches, and firewall access—in that order. Includes steps to diagnose each issue.
First, determine whether the network is down or requests aren’t reaching the client
Seeing the Clash Nyanpasu core running only confirms that the core process is active. A successful node latency test only confirms that a response was received for that test. To load a webpage, the browser request still needs to be routed through the local client, resolved, matched against a rule, and connected. Note the failing URL, browser error, active configuration name, and proxy mode. Then open the client’s Connections or Logs view, reload the page once, and look for entries matching the time and domain. Short-lived connections may disappear quickly from the connection list, so check the logs if needed.
If every app is offline and your device is allowed to connect directly, temporarily turn off the system proxy and TUN, then use the same browser to try a site that your network allows direct access to, such as https://example.com/. If direct access also fails, check whether the Wi-Fi network requires sign-in and whether other devices on the same network can connect. If only one site is affected, try another reachable domain as a comparison so you don’t mistake a site outage for a device-wide network failure. Keep required proxy and network settings on managed devices.
System Proxy: Check the Browser and Local Port
To test the system proxy on its own, turn off TUN and enable only the system proxy in Clash Nyanpasu. In the client, find the active HTTP or mixed port, then compare it with the proxy address configured in your operating system. The examples below use 127.0.0.1:7890; 7890 is an example, not the default port for every configuration. A mixed port accepts HTTP and SOCKS5 client connections, while the system web proxy should point to a port that accepts HTTP proxy requests.
- Windows 11 24H2: Open Settings → Network & internet → Proxy. Under Manual proxy setup, check Use a proxy server and confirm the address, port, and enabled status. If an automatic configuration script is active, check that it routes the test domain through the local proxy. Don’t replace your organization’s settings with a manual proxy.
- macOS 15: Open System Settings → Network → your active network service → Details → Proxies. Check the settings and addresses for Web Proxy (HTTP) and Secure Web Proxy (HTTPS). If you’re on Wi-Fi, check the Wi-Fi service rather than an inactive Ethernet service.
- Firefox: Open Settings → General → Network Settings → Settings. Check whether Firefox uses the system proxy settings or its own configuration. If only Firefox is affected, check whether a proxy extension overrides these settings or the test domain is on the bypass list.
Request the Local Proxy Directly to Isolate Port and Browser Settings
In PowerShell, run the command below to test the proxy without relying on the browser’s system proxy settings. On macOS or Linux, use curl instead of curl.exe. Before running it, replace the port with your active HTTP or mixed port.
curl.exe --noproxy "" --proxy http://127.0.0.1:7890 --connect-timeout 5 --max-time 15 -I https://example.com/
The command uses a 5-second connection timeout and a 15-second total timeout; these are not performance benchmarks. If it can’t connect to 127.0.0.1, check whether the core is listening on that port and look in the startup logs for an address-in-use error. Seeing 200 Connection established confirms only that the proxy accepted the HTTPS tunnel request; check for an HTTP response from the destination site afterward. If the command gets a response but the browser still fails, check the browser’s proxy settings, extensions, and bypass list first. Test the actual failing domain to confirm whether other domains work.
DNS: Compare System and Core Resolution
If the browser shows ERR_NAME_NOT_RESOLVED or the client logs a DNS timeout, first identify which layer is reporting the error. For the same failing domain, run Resolve-DnsName example.com on Windows or nslookup example.com on macOS or Linux as a command-line comparison, replacing example.com with the affected domain. Note whether the request times out, returns a nonexistent-domain error, or resolves to an address. A successful command-line lookup doesn’t prove the webpage is using a working DNS path: the browser may use secure DNS, while HTTPS requests sent through an HTTP proxy usually let the proxy resolve the destination domain.
- Error in one browser only: Compare with another browser and check the affected browser’s secure DNS and proxy settings. On a personal device, you can temporarily restore the browser’s default DNS setting and retry the same domain, then restore your original setting. Keep organization-managed browser settings unchanged.
- Core logs show a resolution failure: Check
dnsin the active configuration and any enabled overrides. If you use Mihomo, check that the resolvers undernameserverare reachable, and determine whether the failing domain is the destination site or the proxy node itself. Ifproxy-server-nameserveris configured, check whether it can resolve the node’s domain. If resolving the node requires using that same, not-yet-connected node, changing the browser’s DNS settings won’t fix the issue. - Fails only with TUN: Check whether DNS hijacking is enabled in the active configuration and whether the affected app’s DNS requests follow that route.
dns-hijackhandles matching DNS traffic; it does not intercept encrypted DNS requests the browser sends over HTTPS.
Rule Routing: Check the Matched Rule and Outbound
In Rule mode, the first matching rule from top to bottom usually determines the policy. Reload the failing page and note the destination domain, matched rule, policy group, and actual node shown in the connection entry. If the page keeps loading, open the browser’s developer tools and check the Network panel to see whether the failure is the main document, a sign-in redirect, or a static asset. Different requests on the same page may match different rules.
- Matched
DIRECT: The connection is going direct. If the site also fails without a proxy, check whether an earlier rule is matching before the expected domain rule, or whether the request is falling through to the finalMATCHrule. After updating a subscription, confirm the active configuration and its overrides are in effect—not just an unapplied version in the editor. - Matched
REJECT: Check the specific domain that was rejected and the rule that matched it. First confirm whether it’s a required resource, such as a sign-in page or API. Don’t clear the entire blocklist just to make one page load. - Matched a proxy group: Expand the policy group and confirm that the actual outbound is the expected node—not
DIRECTor another subgroup. Switch to one known-working node in the same group and retry the same request. If that fixes it, the original node or its route to the destination is the more likely cause.
TUN and Firewall: Change Settings Only When the Symptoms Point There
Test TUN separately if websites load through the system proxy but some apps don’t use it. Note the original settings, turn off the system proxy set by Clash Nyanpasu, enable TUN, then visit the same domain and check the connection log. If enabling TUN takes the whole device offline, turn it off to restore the original network, then check the logs for virtual interface creation, permission, or routing errors. On Windows, compare routes before and after with route print. If another VPN or network filtering app is running, check whether it is also routing the same destination subnet. Keep any VPN required by your organization, and test only tools you’re authorized to change, one setting at a time.
Check the firewall or endpoint security software if the logs show a block, or if the local port test succeeds and the right proxy group is selected but outbound connections still time out. In Windows 11, open Windows Security → Firewall & network protection. If you have the required permissions, check the active outbound rules and their program paths under Advanced settings. The client UI and core may run as separate processes, and their paths can change after an update. Only add the access required by your device policy after confirming which rule blocked which process. Don’t disable the entire firewall or allow LAN inbound access to a proxy port intended for local use only.