Tun Support
Hello Desktop clients needs Xray-core to support Tun Do you have any plan to support it?
dup
如果可以的话,能否考虑支持像openconnect那一种的服务器也有tun接口,然后客户端也有tun接口的方式(即类似VPN但可以更轻量),以方便设置路由,并且应用场景也会更全面
谢谢!
Use transproxies. TUN is less performant than transparent proxies anyway, unless you need to also handle packets other than TCP and UDP.
It would be very good to have tun support. Sing-Box and Fly already have it. I use an additional program tun2socks.
Use transproxies. TUN is less performant than transparent proxies anyway, unless you need to also handle packets other than TCP and UDP.
Yes, for example VoIP. There should be TUN implementation because every GUI client uses other core for that purpose and that's sad :(
我觉得主要是 Windows 和 macOS 需要 Tun,Linux 上不如透明代理,话说 macOS 上有透明代理吗
i hope this feature get added sooner with tunneling available it become the best anti censorship product (proxy + TUN)
希望RPRX大佬推出Windows和macOS的TUN功能,因为根本没人愿意用singbox那种漏洞百出的东西,都是因为tun
这里似乎已经变成许愿井了 issue区不是干这个的。。。 请不要再在这里发送无用的消息
Can we use this dependency? https://github.com/SagerNet/sing-tun
@omid-official I think GPL is not right to add to xray. There is some GPL code in xray, but it is historical, and the author themselves added it. (otherwise, I am sure adding some dependencies to xray for this feature is fine)
Can we use this dependency? https://github.com/SagerNet/sing-tun
Sing-Tun is approved by Xray devs at #1814 and is advised to use because it's not wise to reinvent the wheel
I am a novice regarding licenses and do not know what terms and conditions each of them has, but as mmmray mentioned, the GPL license has stricter rules compared to the MPL license.
Please stop that. We will not use it
I think TUN is really good and practical( not only for Win or MacOS, for all platforms ), and at least for the following reason, it needs to be added:
TUN can cover all network traffic, including traffic from non-browser software, apps, and various protocols. Additionally, you can block WebRTC STUN later to prevent the exposure of the real IPs( Local + Public)! With TUN, all traffic is routed through the tunnel(vNIC), which reduces the likelihood of requests being identified and blocked.
A proxy without the TUN mode is not serious. They write correctly that not all traffic goes through the browser. In addition, at the moment there is no solution for the TUN mode with the XHTTP protocol. And such a solution will not appear soon. ((( Something needs to be done about this.
Could it support both Tun virtual network cards and Tap virtual network cards at the same time?
会有 TUN,但脑残开的 issue 不该留着