How to Install Clash Verge Rev on Windows: Service Mode, TUN, and Firewall Rules
Choose the right installer, launch Clash Verge Rev, import a subscription, and enable Service Mode or TUN. Covers Windows permission prompts, firewall rules, and antivirus blocks.
Choose the right Windows installer and confirm the core starts
For the initial setup, leave “System Proxy” and “TUN Mode” off. First confirm that the client launches and the mihomo core is listening on its local proxy port, then import a profile and verify each step. If you already use another proxy client, exit it and make sure it has cleared its system proxy settings. This helps avoid port conflicts and prevents your browser from trying to connect to a closed application.
- In Windows, open Settings → System → About and check “System type.” Choose the Windows x64 installer for an x64-based processor, or the Windows ARM64 package from the release page for an ARM-based processor. “64-bit operating system” alone does not tell you whether the processor is x64 or ARM64. Also check which Windows versions the release supports.
- Get the installer from the project's official release channel. When the installer or service component triggers a User Account Control (UAC) prompt, check that the program named in the dialog matches the action you just started. If you don't have administrator approval on a managed device, ask your administrator to deploy it rather than running the client as administrator all the time.
- If the process appears but the window won't open, check Task Manager and Windows Protection History first. If startup reports that WebView2 Runtime is missing, install Microsoft's runtime as directed by Windows or the installer. This is separate from an expired subscription or a node timeout.
Clash Verge Rev is the graphical client; mihomo is the core that handles connections and rules. An open window doesn't mean the core is ready. If the proxy list is blank or no local port is listening, check the startup errors in the client's “Logs” and distinguish between a configuration parsing error, a port conflict, and a blocked core file.
Import a subscription and verify the local mixed port
Open “Subscriptions” in the client's left sidebar. Paste the Clash or Clash Meta (mihomo) subscription URL from your provider into the URL field, then select “Import.” After importing, click the profile card to activate it, then open “Proxies” to confirm that the proxy groups and nodes appear. A successful import only confirms that the request and import completed; it doesn't mean the selected profile or node is working.
Subscription import failed? Check download and parsing separately
- HTTP 401 or 403: The server returned a response. Check whether the subscription has expired, the URL is complete, and your provider requires you to refresh the subscription link. URLs may contain access tokens, so hide the full address when sharing logs or screenshots.
- YAML parsing error: The server may have returned a login page, an informational page, or a subscription format the client doesn't support. Choose the Clash or mihomo format in your provider's dashboard instead of renaming an arbitrary node list with a
.yamlextension. - Update request timed out: Check the client logs to see whether the subscription download failed or remote rule sets failed to load after the profile was applied. A subscription can download successfully even when its rule sets cannot; they use different URLs and require different troubleshooting steps.
Test the client without relying on the system proxy
The example below uses 7897 as the “Mixed Port.” If the client shows a different port, replace it in both commands. Run these in PowerShell: the first checks for a listening process, and the second uses Windows curl.exe to access a test site explicitly through the local HTTP proxy:
Get-NetTCPConnection -State Listen -LocalPort 7897 |
Select-Object LocalAddress, LocalPort, OwningProcess
curl.exe --proxy http://127.0.0.1:7897 --noproxy localhost,127.0.0.1 --max-time 15 -I https://example.com/
If no listener appears, check the port and core status first. If one does appear, confirm that OwningProcess belongs to the current client's core, not an old client. If the local connection is established but the handshake fails or the request times out, check “Logs” or “Connections” for the matched rule, selected policy, and failure reason. Seeing an HTTP response from the target site only confirms that this request reached the local proxy entry point. 200 Connection established alone doesn't mean the target site responded successfully, and a DIRECT rule match doesn't mean the request went through a remote node.
Test TUN separately after the system proxy works
Enable only “System Proxy” and leave “TUN Mode” off. In Windows 11, open Settings → Network & internet → Proxy and check the settings actually applied by Windows. For a manual proxy, confirm that the address and port point to the client's current listening address. If the client uses a setup script, check “Use setup script.” Open a browser page that follows system proxy settings while watching the client's “Connections” view. If an explicit proxy command works but the browser produces no matching connection, check the browser's proxy extension or policies before changing the firewall.
Service Mode handles permissions; TUN takes over traffic
You usually don't need TUN for apps that follow system proxy settings. Test TUN only when you need to route terminal programs or other apps that don't use the system proxy. Creating a virtual network adapter and changing routes on Windows require appropriate permissions; Clash Verge Rev's service component can handle these operations. Installing the service and enabling TUN are separate steps: after the service is installed, turn on “TUN Mode” and confirm in the logs that the core actually started TUN.
- Find “TUN Mode” in Clash Verge Rev's “Settings.” Depending on the release, the service controls may be near TUN or listed separately as “Service Mode.” If the interface offers to install the service, use the client's built-in option. If TUN already works and the logs show no service errors, there's no need to uninstall and reinstall first.
- Turn off “System Proxy” before enabling “TUN Mode.” Use the command below to make a request without an explicit proxy, then check “Connections” or “Logs” in the client to see whether the target connection appeared and which rule matched. A page opening doesn't prove that TUN handled the traffic; Windows may have reached it directly.
- If the TUN toggle switches off again quickly, check for a service connection, permissions, adapter, or routing error at the same time. Only check Windows Services (
services.msc) and the client's service status if the logs actually report a service issue. If you're connected to a work VPN, note its current state first. Follow your organization's device policies before disconnecting it for comparison.
curl.exe --noproxy "*" --max-time 15 -I https://example.com/
Firewall rules and antivirus blocks: respond to the specific warning
For proxy use on the same PC, inbound access is usually unnecessary
When the browser and client run on the same PC and the mixed port listens only on 127.0.0.1, don't enable “Allow LAN” or open access on public networks just because the proxy times out. First use the listener command above to confirm that the port is open. A TUN startup failure doesn't mean the proxy port needs an inbound rule: TUN involves local interfaces and routing, while inbound rules control whether other devices can connect to your PC.
Enable “Allow LAN” only if devices on a trusted local network genuinely need to access the mixed port, and check the listening address. On an authorized device, open Windows Security → Firewall & network protection → Advanced settings → Inbound Rules. Restrict the rule to the actual listening program and port, apply it to private networks only, and limit remote addresses to approved devices or subnets. The mixed port's HTTP and SOCKS proxy endpoints use TCP; you don't need to open every port or protocol for this test. Don't set up public port forwarding on your router. Turn off LAN access and remove the rule when you no longer need to share the proxy.
If a file was quarantined, check Protection History—don't disable real-time protection
If the installer disappears after launch or the core file goes missing after a client update, open Windows Security → Virus & threat protection → Protection History and check the time, detection name, and affected file path. For third-party security software, check its quarantine and event logs. A SmartScreen reputation warning is not the same as a file quarantined by security software: the former asks you to verify the source; the latter should be handled based on the detection event. Adding a firewall rule won't resolve either issue.
If the detection is still unclear, keep the block record and ask the project maintainers or your device administrator to verify it. Don't restore an unverified file or add the entire Downloads or user folder to exclusions. If your organization's outbound firewall policy blocks the core from connecting, give your administrator the time, process path, and destination address to investigate. An inbound rule won't remove an outbound restriction.
Verify after restart and know how to roll back
After confirming the selected subscription, proxy group, and node, restart the client and test the same domain again. Keep only the mode you actually need: if the browser works with the system proxy, start there. Use TUN for other apps only after testing it separately. Once everything works, consider enabling launch at startup to avoid carrying a failed network setup into your next sign-in.
- Explicit proxy request fails: Check the listening address, which process owns the port, the subscription profile, and the node. Restore the local proxy entry point first, then check Windows proxy settings.
- Explicit proxy works, but the browser fails: Check the Windows “Proxy” page, browser extensions, and organization policies, and confirm whether the client received the request. For more app-specific troubleshooting, see Troubleshooting system proxy issues.
- Only fails when TUN is enabled: Turn TUN off first, then note the service status, log timestamp, test domain, and exact error. Before temporarily exiting the client, turn off the related settings. If Windows still points to a local port after the client exits, restore the proxy settings to their pre-test values. Don't delete an existing work proxy or setup script.