-
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]: 6.48版本允许TUN模式双内核节点无法上网 #5273
Comments
如果v6.48版本之前你是可以用tun的,你只需要把core改成sing-box即可;因为原来tun强制用的sing-box core |
你这明显是dns解析出了问题,另外xray内核更新到最新试试 |
把config.json 和 configpre.json 上传一下看看 |
参考这个#5268 |
不对呀,你这两个配置怎么都是sb的, 你怎么设置的? |
希望能增加一个强制启用或关闭sing-box内核用于TUN模式的选项,就像 #5233 中描述的那样。我希望在不使用TUN模式时自动应用Xray内核,就像原来那样,现在这样要手动切换,感觉变得麻烦了。 |
启用tun不可能不启用singbox,你在服务器里将core类型留空,参数设置里把core类型全部设为xray或你正在使用的类型这时singbox和你的服务器之间就使用转发模式,我目前就是这样用的,除了tun模式那里需要修改一下dns设置外,6.48版使用起来没有问题的,今天差不多使用了一天,没出任何问题 |
把sb的日志文件(debug)传一下,传文件,别复制粘贴上来 |
抱歉,我的意思是增加一个设置,允许设置TUN模式下只用sing-box或用双内核。 |
|
|
我目前使用的DNS设置如下:
{
"hosts": {
"dns.google": "8.8.8.8",
"proxy.example.com": "127.0.0.1"
},
"servers": [
{
"address": "223.5.5.5",
"domains": [
"geosite:cn",
"geosite:geolocation-cn"
],
"expectIPs": [
"geoip:cn"
]
},
"1.1.1.1",
"8.8.8.8",
"https://dns.google/dns-query"
]
}
{
"servers": [
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"strategy": "prefer_ipv4",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"strategy": "prefer_ipv4",
"detour": "direct"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules": [
{
"rule_set": [
"geosite-geolocation-!cn"
],
"server": "remote"
},
{
"rule_set": [
"geosite-category-ads-all"
],
"server": "block"
}
]
}
{
"servers": [
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"strategy": "prefer_ipv4",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"strategy": "prefer_ipv4",
"detour": "direct"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules": [
{
"rule_set": [
"geosite-geolocation-!cn"
],
"server": "remote"
},
{
"rule_set": [
"geosite-category-ads-all"
],
"server": "block"
}
]
} 是否存在问题? |
singbox dns加个final 为local |
具体怎么改?不知道在哪加。 |
干脆这样把,换一下位置 粘贴我发的 {
"servers": [
{
"tag": "local",
"address": "223.5.5.5",
"detour": "direct"
},
{
"tag": "remote",
"address": "tcp://8.8.8.8",
"detour": "proxy"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules": [
{
"server": "block",
"rule_set": [
"geosite-category-ads-all"
]
},
{
"server": "remote",
"rule_set": [
"geosite-geolocation-!cn"
]
}
]
} |
应用了您提供的配置,或者导入默认DNS配置,问题解决了。我原先的DNS配置在6.43版本可用,升级到6.48是覆盖了原有的文件,DNS设置没有应用最新的配置。不过我看了新配置不太明白为何final不是local就不行。 |
之前可以是因为他还会生成一个附加的dns(outbound 为 direct)在第一个的位置,但是现在后移到了最后, 但是这个dns只是用于确保解析vps域名 |
预期情况
启动TUN模式正常上网。
实际情况
无法加载出网页,一直空白,显示正在加载。
复现方法
日志信息
额外信息
在处理 #5233 TUN模式功能改进前不存在此问题。
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: