Why use TUN mode in Clash Verge Rev on Windows?

Windows proxy settings are useful, but they are not a universal traffic switch. When Clash Verge Rev uses the regular system proxy, applications that honor Windows proxy settings can send their web requests to Clash. Browsers and many desktop apps usually fit this model. Other software may use its own network stack, ignore the system proxy, or communicate through protocols that the proxy setting does not cover. That is why an app can appear to be online while Clash’s traffic graph remains quiet.

TUN mode takes a different route. Mihomo creates a virtual network interface, and Windows sends eligible network traffic through that interface. The core can then apply its routing rules to connections from apps that do not read the system proxy configuration. Depending on the selected stack and configuration, the interface may be provided by a Wintun-based driver or another supported virtual networking component. It is not a second internet connection, and it does not automatically mean every packet will use a proxy node: rules can still select a proxy group, direct connection, or reject action.

This mode is particularly useful for games, launchers, command-line programs, development tools, and apps with embedded network libraries. It can also help when a browser extension or application-specific proxy setting conflicts with Windows settings. TUN is not always the best first choice, though. It adds a system-level network interface and usually requires elevated permission or an installed service. If all the applications you care about already work through the system proxy, leave TUN off and keep the simpler setup.

⚠ Before you begin: Use TUN only on a device and network you are authorized to configure. Work, school, security, and VPN policies may prohibit third-party tunnel adapters. Do not disable antivirus, firewall, or corporate controls to force the feature to work; ask the device administrator if Windows blocks the required service or driver.

Prepare Windows and Clash Verge Rev

Start by confirming that Clash Verge Rev opens normally and that its active profile is valid. A TUN interface cannot compensate for a missing subscription, an expired profile, a broken proxy node, or malformed routing rules. Before changing network behavior, select a profile that you trust, wait for its configuration to finish loading, and check that the core reports as running. If you have not yet imported a profile, use the client’s normal profile workflow first; avoid pasting a subscription URL into an unfamiliar third-party page.

Close other applications that create network tunnels while you establish a baseline. Another Clash client, a consumer VPN, a game accelerator, or an enterprise security agent can install its own adapter or filter traffic at a similar layer. These tools do not always conflict, but testing several at once makes the result difficult to interpret. Record which VPNs or adapters are enabled before changing anything, so you can restore the previous state if needed.

Check that ordinary Windows networking works before enabling TUN. Open a few known websites, verify that the computer has the expected Wi-Fi or Ethernet connection, and complete any hotel, airport, or public Wi-Fi sign-in page. A captive portal can block traffic until its terms page is accepted, and that blockage may look like a Clash routing failure. If your device is managed, check whether you have permission to install or start a network service. A Windows administrator account, an approved service installation, or administrator approval may be required; the exact prompt depends on your installation and Windows policy.

It is also worth checking which Clash Verge Rev and Mihomo versions are installed. Menu labels, service controls, and available TUN stack options can vary by release. Prefer the application’s built-in update path or a release channel you can verify, rather than downloading a repackaged executable from a mirror. If the interface offers a service or helper installation for elevated operations, use that supported control and read the confirmation dialog before approving it. Do not treat an unfamiliar driver prompt as routine just because it appears during setup.

Finally, note the current Windows proxy state. Clash’s regular system-proxy switch and TUN are separate mechanisms. If another tool has already set a manual proxy or PAC URL, make a note of it and determine which application owns that setting. This small check saves time later: otherwise, a working TUN route can be obscured by a stale proxy address, or a browser may continue to use a different route than the rest of the system.

Enable TUN mode in Clash Verge Rev

With a profile loaded and Windows online, open Clash Verge Rev’s settings and find the TUN control. In many builds it appears under a settings area labeled TUN Mode, Mihomo Settings, or a similarly named system section. Look for controls related to enabling TUN, installing or starting the service, and selecting a network stack. Do not assume that a similarly named system-proxy switch is the TUN control: the system proxy changes Windows proxy settings, while TUN creates a virtual network path.

  1. Check the core and profile first. Confirm that the intended profile is active and the Mihomo core is running. If the client reports a profile or core error, resolve that before changing the Windows network interface.
  2. Install or start the supported service if prompted. Approve an administrator prompt only when it is clearly associated with Clash Verge Rev and you intended to enable TUN. If Windows asks to install a driver, check the publisher and prompt details. On a managed computer, stop and request approval instead of trying to bypass policy.
  3. Turn on the TUN option. Enable the TUN control in the client. If the settings expose a stack choice, keep the default unless you have a specific compatibility reason to change it. Different stacks can behave differently with DNS, IPv6, and particular applications.
  4. Allow Windows to finish configuring the interface. Give the client a moment to start the core and create the virtual adapter. A brief permission prompt or network-status refresh can be normal. If the control immediately turns itself off, check the client’s logs for a service, driver, or configuration error rather than clicking repeatedly.
  5. Choose a routing policy and test a small workload. Confirm that the relevant rules point to the intended proxy group or direct route. Open one application that normally ignores the system proxy and observe its requests in the client’s connection list or log.

A successful toggle is only the first checkpoint. Confirm that the interface is active in Clash Verge Rev and that Windows has not lost its ordinary Wi-Fi or Ethernet connection. The wording and location of the controls can change between releases, so if an instruction does not match your screen, search within the current settings rather than relying on a screenshot from an older build. Do not edit unrelated core settings just to make the menu look like a guide.

Keep the system-proxy switch in mind during this test. Some setups leave it enabled alongside TUN; others work with TUN alone. That combination is not automatically wrong, but it can make a browser use proxy settings while other applications are captured by the virtual interface. For a clean diagnosis, know which mechanism is handling each test application. If the goal is specifically to capture software that bypasses Windows proxy settings, verify that software directly rather than judging success solely by a browser page.

Verify that applications are using the TUN route

Use a controlled test rather than immediately launching every network-dependent app on the computer. First, confirm that the Clash Verge Rev dashboard still shows the core as running and that the selected proxy group has a usable connection. Then open an application known to ignore the Windows system proxy—for example, a command-line tool or launcher that previously made no visible request in Clash. Generate a small, harmless request and check the client’s connection view or logs for the process or destination.

Read the result in context. A connection appearing in Clash proves that the client observed traffic, but it does not by itself prove the request used the intended proxy node. Check the matched rule and selected outbound group. A rule may deliberately send a domain to DIRECT, and a final catch-all may behave differently from a more specific rule above it. If the request is visible but the app still fails, inspect the rule decision and the app’s own error before changing DNS or the TUN stack.

Test both an application that honors the system proxy and one that does not. If the first works and the second is absent from Clash, TUN may not have started correctly, the app may be excluded, or another network filter may be taking precedence. If both appear, compare their matched rules and exits. This distinction helps separate a capture problem from a routing problem: changing proxy groups will not fix traffic that never reaches the core, while reinstalling a driver will not fix a rule that intentionally selects the wrong route.

Check name resolution as well as connection routing. DNS settings, fake-IP behavior, and DNS hijacking can affect whether a destination resolves and which rule matches it. If an application reports that a hostname cannot be found while other requests work, inspect the DNS-related messages in the client log and verify the active profile’s DNS configuration. Avoid changing several DNS options at once. Make one controlled change, repeat the same request, and record whether the symptom changes.

A quick comparison can narrow down the cause. Temporarily turn TUN off and test an app that supports the system proxy; then restore the original state and test the TUN-specific application again. Do not leave TUN disabled if the purpose of the test is to capture proxy-bypassing traffic. Also avoid interpreting a single speed test as a full validation: DNS, short web requests, long-lived connections, and UDP-based applications can exercise different parts of the network path.

Troubleshoot common TUN problems safely

TUN will not stay enabled

If the switch reverts to off, look for the first relevant error in Clash Verge Rev’s core or service log. Common causes include a service that was not installed or could not start, insufficient permission, a driver blocked by Windows policy, or a core configuration that the current build cannot use. Restarting the whole computer can sometimes clear a stale adapter state, but it should not be the only diagnostic step. If a managed security product reports a block, contact the administrator and share the exact message instead of disabling the protection.

Windows loses access after TUN starts

First verify that the physical connection remains connected and that any captive portal has already been completed. Next, check the active profile, selected proxy group, and rules for the destination you are testing. A valid TUN interface can still carry traffic to an unavailable node, or a rule can route a required local or login domain somewhere inappropriate. If you need to restore basic access, use Clash Verge Rev’s own TUN control to turn the mode off, then check that the core and Windows proxy state return to the expected condition. Avoid manually deleting adapters or changing routes unless you understand what created them.

A browser works, but a particular app does not

A browser may be using the Windows system proxy while the other program is captured by TUN, so the two results are not necessarily contradictory. Check whether the application’s traffic appears in Clash, whether the matched rule is appropriate, and whether the application requires UDP or a long-lived connection. Some software also uses its own DNS resolver, certificate store, or endpoint list. If no connection appears, confirm that the app is not excluded by configuration and that no competing VPN or security filter is active. If a connection does appear, investigate its rule and outbound path before changing the virtual adapter.

Avoid random fixes that make diagnosis harder

Do not respond to every failure by switching stacks, disabling IPv6, editing the Windows routing table, and changing DNS in one session. Those changes affect different layers and can create new symptoms that obscure the original one. Save a copy of the profile before editing it, change one setting at a time, and keep a short record of the time and result of each test. When reporting a problem, include the Clash Verge Rev version, Windows version, whether the service starts, the relevant log message, and whether the failing request is visible in the connection list. Remove subscription tokens and other private details from screenshots or logs before sharing them.

TUN is most useful when you need applications that bypass Windows proxy settings to follow the same deliberate routing policy as the rest of your traffic. Older or simpler clients may expose only a system-proxy toggle, which leaves some programs outside that path; manually configuring each application can be tedious and inconsistent. Clash Verge Rev brings the virtual-interface control, core status, rules, and connection logs into one workflow, making it easier to verify what happened instead of guessing. If that visibility and app coverage fit your Windows setup, you can download Clash V.CORE and follow the supported installation path for your device.