XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
24.19k stars 3.81k forks source link

Tun Support #3576

Open APT-ZERO opened 1 month ago

APT-ZERO commented 1 month ago

Hello Desktop clients needs Xray-core to support Tun Do you have any plan to support it?

Fangliding commented 1 month ago

dup

egg1234 commented 1 month ago

如果可以的话,能否考虑支持像openconnect那一种的服务器也有tun接口,然后客户端也有tun接口的方式(即类似VPN但可以更轻量),以方便设置路由,并且应用场景也会更全面

谢谢!

PoneyClairDeLune commented 1 month ago

Use transproxies. TUN is less performant than transparent proxies anyway, unless you need to also handle packets other than TCP and UDP.

AlexeySa commented 1 month ago

It would be very good to have tun support. Sing-Box and Fly already have it. I use an additional program tun2socks.

somebodywashere commented 3 weeks ago

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 :(

RPRX commented 3 weeks ago

我觉得主要是 Windows 和 macOS 需要 Tun,Linux 上不如透明代理,话说 macOS 上有透明代理吗

maoxikun commented 2 weeks ago

我觉得主要是 Windows 和 macOS 需要 Tun,Linux 上不如透明代理,话说 macOS 上有透明代理吗

MacOS我基本上系统代理就行了,大部分软件会走系统代理,比如iterm2,vscode等,感觉Windows是最需要tun的

APT-ZERO commented 2 weeks ago

Tun2Socks of v2rayNG is so buggy, will Xray Tun replace Tun2Socks too?

hoodadt commented 1 day ago

i hope this feature get added sooner with tunneling available it become the best anti censorship product (proxy + TUN)