Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tun Support #3576

Open
APT-ZERO opened this issue Jul 22, 2024 · 14 comments
Open

Tun Support #3576

APT-ZERO opened this issue Jul 22, 2024 · 14 comments
Labels
enhancement New feature or request PR welcome Unplanned idea, but welcome anyone to open PR for implementation

Comments

@APT-ZERO
Copy link

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

@RPRX RPRX added the enhancement New feature or request label Jul 22, 2024
@Fangliding
Copy link
Member

dup

@egg1234

This comment was marked as off-topic.

@PoneyClairDeLune
Copy link
Contributor

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

@AlexeySa

This comment was marked as off-topic.

@somebodywashere

This comment was marked as off-topic.

@RPRX
Copy link
Member

RPRX commented Aug 15, 2024

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

@hoodadt

This comment was marked as off-topic.

@heibailiangxiangwang20

This comment was marked as off-topic.

@Fangliding
Copy link
Member

这里似乎已经变成许愿井了 issue区不是干这个的。。。
请不要再在这里发送无用的消息

@Fangliding Fangliding added the PR welcome Unplanned idea, but welcome anyone to open PR for implementation label Sep 7, 2024
@omid-official
Copy link
Contributor

Can we use this dependency?
https://github.com/SagerNet/sing-tun

@mmmray
Copy link
Collaborator

mmmray commented Sep 10, 2024

@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)

@APT-ZERO

This comment was marked as off-topic.

@omid-official
Copy link
Contributor

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.

@Fangliding
Copy link
Member

Please stop that. We will not use it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request PR welcome Unplanned idea, but welcome anyone to open PR for implementation
Projects
None yet
Development

No branches or pull requests