TUN mode in Clash Verge Rev can route traffic from Windows applications that ignore the system proxy, including some games, command-line tools, and desktop apps with their own network stacks. Instead of asking each application to use a proxy address, TUN mode creates a virtual network adapter and lets Mihomo capture traffic at the network layer. This guide explains how to enable TUN mode in Clash Verge Rev on Windows, what permissions and service settings are involved, how to verify that traffic is being captured, and how to resolve common startup and connectivity problems.
Before You Enable TUN Mode
Windows proxy settings and TUN mode solve different problems. When Clash Verge Rev enables the system proxy, it configures Windows to send supported HTTP and HTTPS requests to Clash's local proxy port. Browsers and many desktop applications follow that setting, but applications that use their own networking code, ignore Windows proxy settings, or send UDP traffic may not. TUN mode handles traffic through a virtual adapter instead, allowing the Clash core to apply routing rules to connections that would otherwise bypass the system proxy.
TUN mode does not automatically make every connection use a remote proxy. It captures traffic so Mihomo can inspect it and apply the active profile's rules. A connection may still be sent directly if a rule selects DIRECT, if it is excluded from capture, or if the application uses a network path that the current configuration does not handle. Think of TUN as a way to bring traffic into Clash's routing process, not as a rule that forces all traffic through a proxy node.
Before changing settings, check the following:
- Use a compatible core. Clash Verge Rev relies on its configured core, commonly Mihomo, for TUN support. If the core is outdated or fails to start, the TUN option may be unavailable or may not create an adapter.
- Confirm the profile works without TUN. Select a usable proxy group and make sure ordinary traffic can connect. This separates profile or node problems from adapter problems.
- Know what else controls your network. Another VPN, a second proxy client, endpoint-security software, or a virtual network tool may install its own adapter or routes. Multiple network filters can conflict.
- Keep a way to recover access. If you are connected remotely to the PC, avoid changing routing settings until you can reach the machine locally. A route or adapter failure can interrupt remote access.
Enable Service Mode and TUN in Clash Verge Rev
The exact wording and placement of settings can differ between Clash Verge Rev releases, but the setup follows the same sequence: install or start the required service, enable the TUN option, then restart the core if the application requests it. A Windows network adapter and route changes require elevated privileges. Clash Verge Rev may use a helper service to perform those system-level operations without requiring the main user interface to run as administrator all the time.
- Open Clash Verge Rev. Start the application normally and confirm that your profile is loaded. If the profile has not been selected, choose it first and check that the core can start.
- Open the settings page. Look for the application settings or system settings area. Depending on the release, service controls may be presented separately from the TUN toggle.
- Install or start Service Mode. If the interface offers an install, enable, or start action for Service Mode, use it and approve the Windows User Account Control prompt. If Windows asks for an administrator password, an administrator must authorize the operation.
- Enable TUN mode. Find the TUN setting and turn it on. If the app exposes a separate option to start TUN automatically, enable it only after a successful manual test.
- Restart the core or apply the change. Follow the prompt shown by the application. Some settings take effect after the core restarts; others may require restarting Clash Verge Rev.
- Check the status indicator. Look for a running or enabled state rather than assuming that the switch alone means the adapter started successfully.
Do not confuse Service Mode with Run as administrator. Service Mode is the application’s way of requesting privileged operations through a Windows service. Running the entire user interface as administrator may help diagnose a permissions issue, but it is not a good routine workaround: it grants elevated rights to the full application and can hide a service installation problem. If the interface reports that a service is missing, not installed, or unable to start, address that message directly instead of repeatedly toggling TUN.
Once TUN is running, the ordinary Windows system proxy can remain enabled or be disabled, depending on your needs. The system proxy helps applications that support it; TUN can capture a broader set of traffic. Running both is not inherently wrong, but applications that honor the system proxy may send traffic through a local proxy while other traffic enters through the virtual adapter. If you are troubleshooting, test with one method at a time so the route is easier to understand.
Understand TUN Options and Profile Behavior
Some versions of Clash Verge Rev expose additional TUN options, while others use core defaults or profile settings. Names and availability may change with the Mihomo version. Avoid copying options from a different release without checking whether the current core supports them. The most useful concepts are the virtual adapter, automatic route installation, DNS handling, and traffic exclusions.
- Virtual adapter: The adapter is the Windows network interface through which captured traffic reaches the Clash core. Its name may include a Mihomo or TUN label, but the exact name can vary.
- Automatic route installation: This lets the core add routes that direct selected traffic into the virtual adapter. If the adapter exists but routes are missing or overridden, some applications may continue using the normal network path.
- DNS handling: TUN and DNS settings work together. A domain-based rule may depend on Clash receiving the relevant DNS request. If some applications resolve names outside Clash, routing may appear inconsistent even though the adapter is active.
- Traffic exclusions: Local networks, private addresses, or explicitly excluded applications and destinations may bypass capture. This can be useful for printers, local services, and LAN devices, but exclusions should be intentional.
- Strict routing: If exposed by the core or application, strict routing can limit traffic from escaping through an unintended interface. It may also disrupt local network access when routes or exclusions are not configured for the environment.
For many users, the safest configuration is to begin with the application’s default TUN settings. First verify that the virtual adapter is active and that a test application follows the expected rule. Change advanced options only to address a specific behavior, such as a LAN device becoming unreachable or DNS requests not following the intended path. Changing several settings at once makes it much harder to identify which one caused a new problem.
Routing still follows the active profile. If a captured connection matches a rule that selects a proxy group, the group’s selected node determines the route. If it matches a direct rule, it will connect directly; if it matches a reject rule, it will be blocked. When one application behaves differently from another, compare the domain or IP it connects to and inspect the matched rule in the Clash Verge Rev connections or logs view. A working TUN adapter cannot compensate for a profile rule that sends the connection somewhere unexpected.
Verify That Windows Traffic Uses the TUN Adapter
Use more than one check. A visible TUN toggle confirms a preference, not necessarily a functioning route. The strongest practical test combines the application status, the Windows adapter list, a connection entry in Clash Verge Rev, and a comparison of the application’s behavior with TUN on and off.
- Confirm the core is running. In Clash Verge Rev, check that the core is active and look for startup errors in the logs. A failed core cannot process traffic even if the UI still shows the setting as enabled.
- Inspect Windows network adapters. Press
Win + R, enterncpa.cpl, and press Enter. Look for a newly active virtual adapter. You can also open PowerShell and runGet-NetAdapterto review adapter names and status. - Generate a new connection. Close and reopen the test application, or visit a site it has not recently contacted. Existing connections may remain open and will not prove that a new route is being used.
- Check Clash Verge Rev's connections view. Look for the test application's connection, its destination, and the rule or proxy group selected for it. If the application is absent, it may not be reaching the core, or the connection may have been made before TUN started.
- Compare behavior with TUN disabled. If an application that ignores the system proxy works only when TUN is enabled, that is useful evidence that its traffic is being captured. Turn TUN off again if the test causes a broader connectivity problem.
PowerShell can provide a secondary view of adapter and route state. For example, Get-NetAdapter lists available network interfaces, while Get-NetRoute displays routes Windows currently knows about. These commands are diagnostic tools, not instructions to edit or remove routes manually. A route that looks unfamiliar may be installed by a VPN, virtualization software, or the network itself. Removing it without identifying its owner can break connectivity or make the machine harder to recover.
When testing whether traffic uses a proxy node, check the rule decision as well as the adapter. A connection appearing in Clash may be routed directly by design. Select a known proxy group for the relevant test domain, then check the connection details and the resulting public IP using a trusted service if appropriate. Avoid treating one IP-check page as proof for every application: DNS behavior, IPv4 versus IPv6, and existing connections can produce different results.
Troubleshoot Common TUN Problems
Service Fails to Start or TUN Cannot Be Enabled
First read the error shown in Clash Verge Rev and check its logs. If the message indicates that the service is not installed or cannot be started, open the service settings and use the app’s install or repair action, approving the Windows permission prompt. Restart Clash Verge Rev after installation if requested. If Windows blocks the operation, check whether the account has administrator rights and whether security software has quarantined or blocked the helper component. Do not download a replacement service executable from an unofficial source.
If the service appears installed but the core cannot create the adapter, fully exit Clash Verge Rev, reopen it, and try enabling TUN again. Confirm that the configured core is available and current enough for the selected TUN features. A core crash or invalid profile can produce symptoms that look like a Windows permission problem, so check the core startup log before changing Windows security settings.
TUN Starts, but Some Applications Do Not Connect
Check the connection details and rule match before changing adapter settings. The profile may intentionally send the destination through DIRECT, or a reject rule may block it. If no connection appears, restart the application after enabling TUN and try a fresh request. Some software keeps a long-lived connection open, resolves addresses through its own DNS implementation, or uses an IPv6 path that differs from the path you tested in a browser.
Also check whether the application requires local network discovery or direct UDP communication. A game, voice client, printer utility, or remote-access tool may need LAN access even when its internet traffic should use a proxy. Review the active profile’s DNS and rule behavior, and add only the specific local-network allowance that is needed. Broadly bypassing all private addresses can restore local connectivity but may also send more traffic directly than intended.
Connectivity Breaks or Another VPN Conflicts
Other VPN clients and network-filtering tools can install their own adapters, routes, DNS filters, or firewall rules. Temporarily disconnecting one competing VPN can help identify a conflict, but do not uninstall security software as a first step. If the problem disappears when the other VPN is disconnected, check whether that product supports coexistence or split tunneling. In many cases, running two full-device tunnel clients at the same time is unreliable because both attempt to control the same traffic.
Virtualization platforms, container software, and mobile-device emulators can also add virtual adapters and routes. When diagnosing a conflict, note which adapters are active before and after enabling TUN. Do not disable an adapter unless you know which application owns it and what depends on it. If Windows loses access to the internet, turn off TUN in Clash Verge Rev, disconnect conflicting VPN software, and restart the affected network components before making more extensive changes.
DNS or IP Checks Look Inconsistent
Different applications may use different DNS methods, and cached answers can outlive a configuration change. Restart the application and test a new domain after TUN is enabled. Review the profile’s DNS settings and the Clash logs for query or resolution errors. If only IPv6 tests behave differently, check whether the system, profile, and TUN configuration handle IPv6 consistently; do not disable IPv6 globally just because one test shows a different result.
Once the adapter starts reliably, the test application appears in Clash Verge Rev, and its connection follows the expected rule, TUN mode is ready for everyday use. Keep the profile and core up to date, change advanced options only when you can verify the result, and remember that TUN captures traffic while your rules decide where that traffic goes. If you need Clash Verge Rev on another Windows device, use the official download page and follow the setup guide for that device rather than copying service files or routes manually.