线路连接实验室
客户端下载住宅IP与VPS14 篇使用指南English阅读测评逐层排查连接问题

Client OS & Virtual NIC · Technical Guide

Clash Verge Rev & FlClash TUN Mode No Internet Fix (Windows, macOS NetworkExtension & Linux systemd-resolved)

Enabling TUN mode redirects all device traffic to a virtual network interface (Wintun/TUN adapter). When web browsers fail to load pages while system proxy works, the cause is usually default gateway route conflicts, DNS hijacking by local security software, or missing system helper permissions.

Last Verified: 2026-11-12
Key Takeaways

Quick Conclusion

When TUN mode breaks connectivity, traffic is reaching the virtual network adapter but cannot resolve DNS or route default gateway packets back. On Windows, reinstall the Wintun driver with administrator rights and add strict-route: true. On macOS, grant Full Disk Access to the helper tool and ensure system proxy is disabled when TUN is active. On Linux, configure systemd-resolved to prevent stub listener DNS loops.

01
Issue Analysis

Common Symptoms & Checkpoints

SymptomLikely LayerFirst Step
System proxy works in Chrome, but opening TUN mode causes total network dropL4 System / Virtual Adapter Route Conflict

Verify that the virtual adapter is active in Network Connections and check for 0.0.0.0/0 route precedence.

macOS displays "Helper tool failed to install" or TUN switch bounces offL4 System / macOS Security NetworkExtension Permission

Open macOS System Settings > Privacy & Security and allow the Clash Verge Rev network daemon.

Ping 1.1.1.1 works but all domain names fail to resolveL4 System / DNS Hijacking by Antivirus Software

Disable third-party antivirus Web Protection or add the Clash TUN interface to trusted networks.

02
Implementation Steps

Step-by-Step Configuration

  1. 01
    Reinstall Wintun Driver with Administrator Privileges (Windows)

    Open Clash Verge Rev settings. Toggle Service Mode / TUN Mode off, right-click Clash Verge Rev, select Run as Administrator, and click Install Service / Install TUN.

  2. 02
    Standardize TUN Configuration in Mihomo Core

    Configure standard TUN settings in Clash Verge Rev Merge / Script section:

    tun:
      enable: true
      stack: mixed # mixed, gvisor or system
      dns-hijack:
        - "tcp://any:53"
        - "udp://any:53"
      auto-route: true
      auto-detect-interface: true
      strict-route: true
  3. 03
    Fix Linux systemd-resolved DNS Loop

    On Ubuntu or Fedora Linux, configure systemd-resolved to prevent local DNS forwarding loops by binding DNS to the TUN device.

  4. 04
    Test Route Table and DNS Queries

    Run route print on Windows or netstat -nr on macOS to confirm the default gateway routes through the TUN interface.

03
Questions

Frequently Asked Questions

Should I keep System Proxy and TUN Mode enabled at the same time?+

No. When TUN Mode is active, all system TCP and UDP traffic is captured at the virtual NIC layer. Keeping System Proxy enabled simultaneously causes redundant local proxy loops.

Why do local LAN devices disconnect when TUN mode starts?+

Add your local LAN subnets (192.168.0.0/16, 10.0.0.0/8) to the bypass routing list or rules array with DIRECT policy.