xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.85k stars 404 forks source link

[Bug] wintun device name incorrect in Windows #300

Closed sonvirgo closed 9 months ago

sonvirgo commented 9 months ago

Verify steps

Version

2.5.1

What OS are you seeing the problem on?

Windows

Description

The created tun interface change its name by adding increasing number ie wintun1, wintun2, wintun3, ...

This affect NAT internet sharing from the wintun interface to Hotspot

Screenshot (18)

CLI or Config

tun2socks-windows-amd64 -device tun://wintun -proxy socks5://127.0.0.1:1081

Logs

No response

How to Reproduce

just run the coomand wintun change its name every time

xjasonlyu commented 9 months ago

This should be fixed by #301. Please feel free to reopen it if this issue still exists!

To specify the GUID for wintun adapters, see tun-options.

sonvirgo commented 9 months ago

This should be fixed by #301. Please feel free to reopen it if this issue still exists!

To specify the GUID for wintun adapters, see tun-options.

Thank buddy, but where is the new build for device model?

xjasonlyu commented 9 months ago

There's no release yet, but you can build yourself.

sonvirgo commented 8 months ago

There's no release yet, but you can build yourself.

Thanks, works as expected