We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows
windows 11
sing-box 原始命令行程序
No response
注: 不确定这个 bug 是从哪个版本开始引入的 sing-box version 1.12.0-alpha.9 Environment: go1.24.0 windows/amd64 Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api,with_tailscale Revision: 63a0b5e2ced03a8b5e98b939c8b97fdc63dcd14f CGO: disabled
在使用 tun 时若是开启 fakeip, 会导致 udp 收不到回包
具体现象:
对于 mixed stack 还有如下额外现象: 在上述的第3步后,本机给服务器发送数据包的端口发生了改变
如图所示:发送端口从 50294 变成了 50295
对于下面的配置文件,若是将 fakeip 的 rule 去掉, 则能正常工作
udp 无法收到回包的配置:
{ "dns": { "servers": [ { "type": "tls", "server": "223.5.5.5", "tag": "dns-direct", "detour": "direct-out" }, { "type": "fakeip", "tag": "dns-fake", "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" } ], "rules": [ { "query_type": [ "A", "AAAA" ], "server": "dns-fake" } ], "final": "dns-direct" }, "inbounds": [ { "type": "tun", "tag": "tun-in", "endpoint_independent_nat": true, "mtu": 9000, "address": "172.20.0.1/30", "auto_route": true, "stack": "mixed" } ], "outbounds": [ { "tag": "direct-out", "type": "direct" } ], "route": { "auto_detect_interface": true, "rules": [ { "action": "sniff" }, { "protocol": "dns", "action": "hijack-dns" }, { "action": "resolve" } ] } }
The text was updated successfully, but these errors were encountered:
整理了一下测试结果:
sing-box version 1.12.0-alpha.3 mixed: 不能收也不能发 system: work
sing-box version 1.12.0-alpha.4 mixed: 能发不能收 system: work
sing-box version 1.12.0-alpha.5 mixed: 能发不能收 system: 能发不能收
更高版本的就没测了
Sorry, something went wrong.
No branches or pull requests
操作系统
Windows
系统版本
windows 11
安装类型
sing-box 原始命令行程序
如果您使用图形客户端程序,请提供该程序版本。
No response
版本
描述
在使用 tun 时若是开启 fakeip, 会导致 udp 收不到回包
具体现象:
对于 mixed stack 还有如下额外现象:
在上述的第3步后,本机给服务器发送数据包的端口发生了改变
如图所示:发送端口从 50294 变成了 50295
对于下面的配置文件,若是将 fakeip 的 rule 去掉, 则能正常工作
重现方式
udp 无法收到回包的配置:
日志
支持我们
完整性要求
The text was updated successfully, but these errors were encountered: