-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[Bug]: V6.25 中,启动 tun 模式后,config.json 中缺少 http 和 socks 端口监听的配置 #3915
Comments
tun模式就是全局接管流量,在入站模块中,就写一组tun的就行了。 你有兴趣研究可参考 https://github.com/chika0801/sing-box-examples/tree/main/Tun |
这个我明白,我提这个issue的意思是,开启tun模式之后,入站模块中只有tun的组,没有其他端口监听的组,希望能够加上去。如果缺少监听端口的组,那么“允许来自LAN的连接”这个功能就失效了,因为内核根本没有监听任何端口。 |
暂时没有加入计划加入 |
我经常运行虚拟机,并想让虚拟机的所有流量走代理,因此需要tun模式。 并且我还需要开启 "允许来自LAN的连接" 这个功能,因此端口监听很重要。如果不监听端口,"允许来自LAN的连接" 这个选项就形同虚设。 老版本中,singbox仅作为tun的前置、xray(或其他内核)作为后端内核时,开启tun模式后也能正常监听端口;新版本反而不行了,这个算不算功能的倒退呢? 希望2dust能够再考虑一下哈,而且实现这个也不算太难,就是在singbox的配置里面多加几个inbound,这么做没有任何缺点。 |
下载此版本,先运行一次,关闭 |
辛苦了大佬,后续遇到问题会及时给您反馈的 |
可不可以在TUN模式设置里做一个启用这个功能的按钮。@2dust 测试enableExInbound改成true后可以正常使用socks |
暂时不开放此功能 |
同,版本最新6.27,开启tun模式后就不监听socks和http端口了,老版本6.23还是有用的。之前这个功能还有用的,希望以后能够回滚 |
预期情况
启动 tun 模式后,
config.json
文件中的inbound
下应有 tun 的配置以及 http 和 socks 端口监听的配置实际情况
启动 tun 模式后,
config.json
文件中的inbound
下缺少 http 和 socks 端口监听的配置,只有 tun 的配置复现方法
开启 tun 模式,观察
config.json
文件日志信息
略
额外信息
软件版本 V6.25
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: