Closed relay303 closed 1 year ago
Linux
Linux 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Original sing-box Command Line
No response
NS_ERROR_NET_TIMEOUT
用以下配置启动sing-box (完整配置:https://pastebin.mozilla.org/3fdARrMh)
~ ❯ whoami root ~ ❯ /usr/bin/sing-box -D /var/lib/sing-box -C /etc/sing-box run
route
"route": { "rules": [ { "protocol": "dns", "outbound": "dns-out" }, { "protocol": [ "quic" ], "outbound": "block" }, { "geosite": [ "category-ads-all" ], "outbound": "block" }, { "type": "logical", "mode": "and", "rules": [ { "geosite": [ "geolocation-!cn" ] }, { "geoip": [ "cn" ], "invert": true } ], "outbound": "proxy" }, { "type": "logical", "mode": "and", "rules": [ { "geosite": [ "cn" ] }, { "geoip": [ "cn" ] } ], "outbound": "direct" }, { "geosite": [ "private" ], "outbound": "direct" }, { "geoip": [ "cn", "private" ], "outbound": "direct" } ], "auto_detect_interface": true },
inbound
"inbounds": [ { "type": "tun", "tag": "tun-in", "inet4_address": "172.19.0.1/30", "auto_route": true, "strict_route": true, "stack": "mixed", "sniff": true, "sniff_override_destination": false } ],
更新到 v1.7.0-alpha.10 后,使用 gVisor 栈可以正常上网(而v1.7.0-alpha.8不行)。
gVisor
Operating system
Linux
System version
Linux 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
NS_ERROR_NET_TIMEOUT
Reproduction
用以下配置启动sing-box (完整配置:https://pastebin.mozilla.org/3fdARrMh)
route
部分inbound
部分Logs