Skip to content

Can Xray core support Tun mode? #4292

New issue

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

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

Already on GitHub? Sign in to your account

Open
4 tasks done
lixiaodongsql opened this issue Jan 15, 2025 · 8 comments
Open
4 tasks done

Can Xray core support Tun mode? #4292

lixiaodongsql opened this issue Jan 15, 2025 · 8 comments
Labels
enhancement New feature or request PR welcome Unplanned idea, but welcome anyone to open PR for implementation

Comments

@lixiaodongsql
Copy link

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

Can Xray core support Tun mode?

Reproduction Method

Can Xray core support Tun mode?

Client config


Can Xray core support Tun mode?

Server config


Can Xray core support Tun mode?

Client log


Can Xray core support Tun mode?

Server log


Can Xray core support Tun mode?
@lixiaodongsql
Copy link
Author

Can Xray core support Tun mode?

@wyx2685
Copy link
Contributor

wyx2685 commented Jan 15, 2025

@lixiaodongsql 不能,下一个

@lixiaodongsql
Copy link
Author

Can Xray core support Tun mode in future?

@Fangliding
Copy link
Member

dup

@Fangliding Fangliding closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
@RPRX
Copy link
Member

RPRX commented Feb 23, 2025

Yes

@RPRX RPRX reopened this Feb 23, 2025
@RPRX RPRX added enhancement New feature or request PR welcome Unplanned idea, but welcome anyone to open PR for implementation labels Feb 23, 2025
@zensea
Copy link

zensea commented Mar 4, 2025

Yes

建议可以限定指定应用程序的请求走tun

@deepsm0ke
Copy link

deepsm0ke commented Mar 25, 2025

I saw that @RPRX mentioned it and said it seems like just "Windows TUN", but in practice, the development of TUN should be done for all platforms like Windows, Android, iOS, Linux. Overall, if someone has complete or even sufficient but useful knowledge in this field(TUN Development), they should help in this develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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

6 participants