啥时候支持tun入站
#4820
Replies: 1 comment
-
如果有迫切的需要,可以试着自己动手为 xray 添加 tun 的支持,满足自己的需求应该还是可以的。 以 macOS 为例,其他的平台不太了解哈。 1、参考 sin-tun 创建虚拟网卡配置路由的代码,创建虚拟网卡,并得到网卡的描述符。当然也可以通过 shell 命令的方式。 接下来,编译自己修改的内核,以 root 权限运行(因为创建虚拟网卡需要 root 权限),到此你就得到了一个简单版本的支持 tun 的 xray 啦。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
只要支持tun入站,我马上转xray
Beta Was this translation helpful? Give feedback.
All reactions