[BUG] Start TUN listening error: configure tun interface: The system cannot find the file specified.
问题描述 / Describe the bug
Start TUN listening error: configure tun interface: The system cannot find the file specified. 启动报这个错误, 已经使用了管理员运行. 使用gvisor
软件版本 / Version
0.8.82
复现步骤 / To Reproduce
.
操作系统 / OS
Windows
操作系统版本 / OS Version
Edition Windows 10 Pro N for Workstations Version 22H2 Installed on 9/24/2024 OS build 19045.5131 Experience Windows Feature Experience Pack 1000.19060.1000.0
日志(勿上传日志文件,请粘贴日志内容) / Log (Do not upload the log file, paste the log content directly)
...
Log{logLevel: LogLevel.debug, payload: [DNS] resolve x.com AAAA from udp://208.67.220.220:5353, dateTime: 2025-04-28 14:01:12.227289}
Log{logLevel: LogLevel.debug, payload: [TUN] Auto detect interface for 208.67.222.220 --> Ethernet 2, dateTime: 2025-04-28 14:01:12.227289}
Log{logLevel: LogLevel.debug, payload: [TUN] Auto detect interface for 208.67.220.220 --> Ethernet 2, dateTime: 2025-04-28 14:01:12.227289}
Log{logLevel: LogLevel.debug, payload: [TUN] Auto detect interface for 101.6.6.6 --> Ethernet 2, dateTime: 2025-04-28 14:01:12.227289}
Log{logLevel: LogLevel.debug, payload: [TUN] Auto detect interface for 208.67.220.222 --> Ethernet 2, dateTime: 2025-04-28 14:01:12.227289}
Log{logLevel: LogLevel.debug, payload: [TUN] Auto detect interface for 208.67.222.222 --> Ethernet 2, dateTime: 2025-04-28 14:01:12.227815}
Log{logLevel: LogLevel.debug, payload: [DNS] x.com --> [172.66.0.227] A from udp://208.67.220.222:5353, dateTime: 2025-04-28 14:01:12.236567}
Log{logLevel: LogLevel.debug, payload: [DNS] x.com --> 172.66.0.227, dateTime: 2025-04-28 14:01:12.336817}
...
Log{logLevel: LogLevel.warning, payload: Failed to start Redir UDP Listener: not supported on current platform, dateTime: 2025-04-28 14:01:15.932958}
Log{logLevel: LogLevel.info, payload: Redirect proxy listening at: [::]:7892, dateTime: 2025-04-28 14:01:15.932958}
Log{logLevel: LogLevel.error, payload: Start Redir server error: not supported on current platform, dateTime: 2025-04-28 14:01:15.932958}
Log{logLevel: LogLevel.error, payload: Start TProxy server error: not supported on current platform, dateTime: 2025-04-28 14:01:15.933490}
Log{logLevel: LogLevel.info, payload: Mixed(http+socks) proxy listening at: [::]:7897, dateTime: 2025-04-28 14:01:15.934170}
Log{logLevel: LogLevel.info, payload: [FlClash] find https://ipwho.is/ proxy:true, dateTime: 2025-04-28 14:01:16.012513}
```〔筆畫〕
日志没有打TUN或者gvisor的异常.
在设置里切换到"system" 网卡可以自动出现, 回到仪表盘"停止clash", "启动clash", 网卡不会新增出来.
需要禁止虚拟网卡, 然后启动虚拟网卡, 才会出现tun接口.
否则,不管用什么模式, 点击停止 ,点击启动 都不会创建接口.
gvisor 也是可以打开网卡的, 反正就是启动软件不会新增网卡. 必须要切换栈模式, 或者关了 tun 再开才会新增. 非常影响使用. 不知道作者能否定位到这个问题 并且优化. 非常感谢您的付出
gvisor 也是可以打开网卡的, 反正就是启动软件不会新增网卡. 必须要切换栈模式, 或者关了 tun 再开才会新增. 非常影响使用. 不知道作者能否定位到这个问题 并且优化. 非常感谢您的付出
这个问题记得很久很久以前就存在, 现在最新版本依旧还有这个问题. https://github.com/chen08209/FlClash/issues/540