Skip to content
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

[Feature request]: 希望自定义配置文件在非 Tun 模式下能选择 Xray 作为前置 #4855

Closed
1 task done
IRN-Kawakaze opened this issue Mar 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@IRN-Kawakaze
Copy link

相关问题

希望能使用 Xray 作为非 Tun 模式下自定义配置的可选前置。目前v2rayN的设置里仍有 *ray v4 的路由和 DNS 配置,对于在非自定义配置里不使用 Sing-box 的用户来说,使用自定义配置时却只能将这些配置转义后使用 Sing-box 作为前置,还需要手动翻译自定义DNS配置给 Sing-box,而且需要额外下载一个 core,有点不太友好。

描述你希望的解决方案

Tun 模式下强制使用 Sing-box 作为希望自定义配置的前置,非 Tun 模式下自定义配置可选 Xray 作为前置。

描述你所考虑的替代方案

No response

我确认已查询历史issues

@IRN-Kawakaze IRN-Kawakaze added the enhancement New feature or request label Mar 18, 2024
@IRN-Kawakaze
Copy link
Author

另外之前翻更新日志的时候只看到了这两条:

“启用Tun模式时,所有非自定义配置会强制使用sing-box,且只会开启一个core”
“自定义配置使用Tun模式时,前置会使用sing-box”

似乎没提到自定义配置不使用 Tun 模式时的前置被改成了 Sing-box?有点不理解。

@2dust
Copy link
Owner

2dust commented Mar 18, 2024

因为xray目前还是没有tun,用singbox前置开发更方便,这样就不用区分用户是否开启tun了。
你这个需求可以等xray支持tun后增加,看开发时间;或等有人有时候pr,

@crazypeace
Copy link
Contributor

个人观点, 最简单粗暴的方式就是干脆开个内核 专门做前置.

落地的这个内核 走到前置的那个内核开出来 的socks5 代理里去.

演示视频 :
https://www.youtube.com/watch?v=TtHEWS6H3RE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants