1.14.0-alpha.35在linux及openwrt下ping不通
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.1k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
操作系统
Linux
系统版本
Debian 13
安装类型
sing-box 原始命令行程序
如果您使用图形客户端程序,请提供该程序版本。
No response
版本
描述
1.14.0-alpha.35下,启用了tun后,ping不通。
重现方式
{
"log": {
"level": "debug",
"timestamp": true
},
"inbounds": [
{
"type": "tun",
"address": [
"172.19.0.1/30"
],
"auto_route": true,
"auto_redirect": true
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
}
]
}
日志
+0800 2026-06-27 15:41:24 INFO network: updated default interface eth0, index 2
+0800 2026-06-27 15:41:24 INFO inbound/tun[0]: started at tun0
+0800 2026-06-27 15:41:24 INFO sing-box started (0.05s)
+0800 2026-06-27 15:41:31 INFO [439912556 0ms] outbound/direct[direct]: linked icmp connection from 103.*.*.* to 8.8.8.8
+0800 2026-06-27 15:41:41 ERROR [439912556 10.0s] outbound/direct[direct]: receive ICMP echo reply: read ip 0.0.0.0: i/o timeout
+0800 2026-06-27 15:41:41 INFO [1334369407 0ms] outbound/direct[direct]: linked icmp connection from 103.*.*.* to 8.8.8.8
+0800 2026-06-27 15:41:51 ERROR [1334369407 10.0s] outbound/direct[direct]: receive ICMP echo reply: read ip 0.0.0.0: i/o timeout
+0800 2026-06-27 15:41:52 INFO [211991708 0ms] outbound/direct[direct]: linked icmp connection from 103.*.*.* to 8.8.8.8
+0800 2026-06-27 15:42:02 ERROR [211991708 10.0s] outbound/direct[direct]: receive ICMP echo reply: read ip 0.0.0.0: i/o timeout
支持我们
- 我已经 赞助
完整性要求
- 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
- 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
- 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
- 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the minimal TUN configuration on Debian 13 and OpenWrt with debug logging, then trace the ICMP path indicated by the outbound/direct timeout. No source files or tests are named in the report; done means ping receives ICMP echo replies with the reported TUN settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100