First-run setup: get the client working before routing traffic

After installing Clash Verge Rev or another Mihomo-based desktop client, turn off System Proxy and TUN Mode in the new client. First, check that the core starts and the configuration loads. Then find the actual listening port, enable System Proxy, and send a request from your browser. Test TUN separately only if you need to route traffic from apps that ignore system proxy settings. On mobile, skip the desktop system proxy step when connecting through the system VPN.

Treat “the page loads” and “the request went through Clash” as separate checks. In the client’s Connections panel, inspect the request’s actual domain, matched rule, and outbound. A DIRECT match means the core routed the request directly according to the rules; it does not mean the client never received it.

Installer choice and first-run permissions

Choose a package for your OS and CPU architecture

  • Windows: Go to Settings → System → About (called System Information in some versions) and check System type. Distinguish x64 from ARM64. A graphical interface launching in an emulated environment does not mean its service components are supported, so follow the client’s release notes when choosing a package.
  • macOS: Open the Apple menu → About This Mac. If it shows an Apple M-series chip, choose the Apple silicon build (usually labeled arm64). If it shows an Intel processor, choose the Intel build (usually labeled x64).
  • Linux: Use uname -m to distinguish x86_64 from aarch64. Then choose a package for your distribution—for example, Debian and Ubuntu generally use .deb, while Fedora generally uses .rpm. Check that the architecture matches, too.
  • Android and iOS: On Android, choose an APK that matches the device’s supported ABI, such as arm64-v8a. Installing from a browser or file manager may require permission to install apps from that source; you can revoke it afterward. On iOS, install through the official distribution method provided by the client. Android packages are not for iOS.

Know what a permission prompt is requesting

Windows User Account Control may appear when installing a service or enabling a component required for TUN. Check the program name and the action being performed before granting permission. On macOS, the confirmation shown when opening an app for the first time is different from a security block. If macOS blocks the app, verify its source and system requirements rather than disabling system protections. There’s no need to run the entire client as administrator all the time for convenience.

When Android or iOS clients use the system VPN feature, the OS displays a connection confirmation or asks to add a VPN configuration. This prompt should appear only after you initiate a connection. If another VPN is active, disconnect it before testing. For work-managed or otherwise restricted devices, contact your administrator if proxy settings, VPNs, or service installation are blocked; don’t change device policies.

Confirm the configuration is active before checking whether port 7890 is in use

After importing a subscription URL or local YAML file, check the configuration list to see which profile is active. A successful import only means the client received the configuration; check the core logs to confirm it loaded and make sure the proxy groups have selectable options. Subscription URLs may contain access credentials, so redact the entire URL before sharing screenshots or logs. If the logs report a configuration parsing error, fix that first instead of toggling System Proxy and hoping for the best.

mixed-port lets the core accept HTTP and SOCKS proxy connections on the same local port. 7890 is a common example, not a fixed value for every client. Use the listening address shown in the interface or logs. If startup reports address already in use, first check which port is affected and which process is listening on it.

Check TCP listeners: replace 7890 with the port shown in the error
Operating system Command How to read the results
Windows PowerShell Get-NetTCPConnection -LocalPort 7890 -State Listen Match the PID in the OwningProcess column to the Details tab in Task Manager.
macOS lsof -nP -iTCP:7890 -sTCP:LISTEN Check COMMAND, PID, and the listening address.
Linux ss -ltnp 'sport = :7890' Check the local listening address. Standard users may not be able to see the process name for processes owned by other users.
  1. If the listener belongs to an old Clash client, quit it completely from the system tray or menu bar, then check again. Closing the window usually just hides the interface. If its service is still listening, stop it through the service management option provided by the old client.
  2. If the listener belongs to an app you still need, don’t force-quit it. After confirming that 7891 is available, change the mixed port to 7891 in the new client’s port settings or local overrides, then reload as prompted. Subscription updates may overwrite direct edits to subscription files, so use the client’s settings or override options when available.
  3. After reloading, verify the listening address and port, then reapply System Proxy. Update any browser, terminal, or other app with a manually configured proxy to use the same port. If the proxy is only for this device, you don’t need to enable Allow LAN to resolve a local port conflict.

On desktop, test System Proxy first; enable TUN only if needed

System Proxy: pinpoint the issue with a fresh connection

After enabling System Proxy in the client, check it in Windows under Settings → Network & Internet → Proxy, or on macOS under System Settings → Network → your current network service → Details → Proxies. Whether a Linux client can set this automatically depends on the desktop environment and client. If you use a manual HTTP proxy, its address should match the local listener, for example 127.0.0.1:7890. On a work device, note any existing automatic configuration script or manual proxy before making changes; don’t overwrite it without checking.

In a browser that follows system proxy settings, visit https://example.com/ and check the Connections panel or logs. If there’s no new entry, check whether the browser has its own proxy settings, extensions, or proxy exclusions. If needed, quit and reopen the browser before retrying to avoid reusing an existing connection. If the request appears but times out while connecting upstream, local routing is working. Check the request’s selected outbound and the proxy node’s status instead of changing the local port again.

TUN: test apps that don’t use the system proxy

System Proxy relies on apps honoring the OS proxy settings; some command-line programs and apps with their own network stack don’t. TUN routes traffic to the core through a virtual network interface and system routes, where it is handled according to the configuration. For an initial test, turn off System Proxy, disconnect other VPNs that are routing traffic, then enable TUN or install its service as required by the client. Keep the same configuration and proxy group, and retry only the app that ignored System Proxy so you can identify what changed.

If enabling TUN immediately causes DNS failures, makes local network devices unreachable, or disrupts a work VPN, turn TUN off first and restore the previous setup. Then check DNS, routes, and the client’s exclusion settings separately. Don’t change the proxy node, DNS, and rules all at once; if you do, you won’t know which change fixed the issue.

Before you finish: distinguish startup, traffic routing, and upstream issues

  • Core won’t start: Start with the first error related to configuration parsing, port binding, or permissions. Enabling System Proxy at this point may send apps to an address where nothing is listening.
  • The core is running, but the app doesn’t appear in the connection log: Check whether the app uses the system proxy and whether its proxy address matches the current port. Then consider whether TUN is needed.
  • The app appears in the connection log, but the request fails: Check the matched rule and actual outbound. A direct connection failure and a proxy node timeout are different issues; don’t blame both on the System Proxy toggle.
  • Your browser loses connectivity after you quit Clash: Return to the system proxy settings and check whether they still point to a local port that is no longer listening. If you had a work proxy configured, restore its original settings. Otherwise, turn off any leftover manual proxy. If you enabled TUN, turn it off in the client before quitting.

Once everything works, note the active configuration name, actual mixed port, and connection method. Run through one full cycle—enable, send a request, disable, and confirm normal connectivity returns—before considering launch at startup. If connectivity fails later, you can start troubleshooting from a known-good setup instead of reinstalling the client.