Replies: 1 comment
-
"routing":
{
"domainStrategy": "IPIfNonMatch",
"domainMatcher": "hybrid",
"rules":
[
{
"type": "field",
"ip": ["::0/0"],
"outboundTag": "v6"
}
]
},
"outbounds":
[
{
"tag": "v4",
"protocol": "freedom",
"streamSettings":
{
"sockopt":
{
"domainStrategy": "UseIPv4"
}
}
},
{
"tag": "v6",
"protocol": "freedom",
"streamSettings":
{
"sockopt":
{
"domainStrategy": "UseIPv6"
}
}
}
] 试试这个? 我在一台单栈v4机器上用WARP加了v6之后,用这个配置(实际我在v6配置中用interface配置项指定了WARP那张网卡)可以实现v6优先,test-ipv6.com可以10分满分 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Xray的值是 UseIP UseIPv4 UseIPv6.
当用 UseIP 时,去 https://test-ipv6.com/ 测试时,有10-20%出现网站提示,大意是你已有IPv6但是你的浏览器不太愿意优先使用的提示。
如果用sing-box 使用了 prefer_ipv6,同样去测试时,就是100%显示满分。
在 sing-box 里是设计成了 prefer_ipv4 prefer_ipv6 ipv4_only ipv6_only。
Beta Was this translation helpful? Give feedback.
All reactions