Skip to content

win11 can not work #1160

@iwaitu

Description

@iwaitu

Describe the bug

日志显示 [Wintun] ForceCloseWintunAdapterHandle: Failed to perform ioctl on adapter 18: 函数不正确。 (Code 0x00000001)

To Reproduce

当模式选择为某个进程时,可以正常连接,当模式选择为Bypass LAN or Bypass LAN and China or Bypass LAN or Vivox 时,都会出现这个错误

Log

[2025-10-18 22:05:09][Information] Start MainController: Trojan [2]Bypass LAN and China
[2025-10-18 22:05:09][Debug] Server Information: Trojan
[2025-10-18 22:05:10][Information] Built-in wintun.dll Hash: 8a0581991caf829cd92b27aabcb2bab618cc8fbc887d8f86a533c95d2e3f17d4
[2025-10-18 22:05:10][Information] Installed wintun.dll Hash: 8a0581991caf829cd92b27aabcb2bab618cc8fbc887d8f86a533c95d2e3f17d4
[aiodns] Started
2025/10/18 22:05:17 [Wintun] ForceCloseWintunAdapterHandle: Failed to perform ioctl on adapter 18: 函数不正确。 (Code 0x00000001)
2025/10/18 22:05:17 [Wintun] WintunDeleteAdapter: Failed to force close adapter 18 handles
2025/10/18 22:05:17 [Wintun] WintunCreateAdapter: Creating adapter
2025/10/18 22:05:17 [Wintun] SelectDriver: Using existing driver 0.14
[2025-10-18 22:05:17][Information] Net traffic processes: (18428)v2ray-sn

Environment

win 11 25H2

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions