Closed dogpem closed 11 months ago
解决了么?hy2同样的问题。
你们的版本都是170吗
最新版,我分流了openai,但是谷歌跳验证才发现,vmess就没有这个问题。
你们的版本都是170吗
sing-box版本:v1.7.0
现在Hysteria2 的warp的分流无效了,即使设置了分流,所有流量也会直连 复现步骤:
v2ray-agent
Hyteria 2
11.分流工具
> 1.WARP分流
> 2.添加域名
>安装warp-reg - y
> 请按照上面示例录入域名:ip.sb
> ---> 添加成功 ---> Xray关闭成功 ---> Xray启动成功 ---> sing-box关闭成功 ---> sing-box启动成功
Sing-Box Config
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "wireguard_out_IPv4",
"detour": "wireguard_out",
"domain_strategy": "ipv4_only"
},
{
"type": "wireguard",
"tag": "wireguard_out",
"local_address": [
"172.16.0.2/32",
"2606:4700:110:8535:788c:3bc4:6287:5063/128"
],
"private_key": "xxx",
"server": "162.159.192.1",
"server_port": 2408,
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"reserved": "3woB",
"mtu": 1280
}
],
"route": {
"geosite": {
"path": "/etc/v2ray-agent/sing-box/conf/geosite.db"
},
"rules": [
{
"domain": [
"ip.gs",
"ip.sb"
],
"outbound": "wireguard_out_IPv4"
}
]
}
}
https://github.com/mack-a/v2ray-agent/issues/851#issuecomment-1836629135
现在warp的分流对于Hysteria2 似乎无效了。 复现步骤:
- 卸载重新安装
v2ray-agent
- 安装
Hyteria 2
- 选择
11.分流工具
>1.WARP分流
>2.添加域名
>安装warp-reg - y
>请按照上面示例录入域名:ip.sb
>---> 添加成功 ---> Xray关闭成功 ---> Xray启动成功 ---> sing-box关闭成功 ---> sing-box启动成功
- 查看IP
Sing-Box Config
"outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "direct", "tag": "wireguard_out_IPv4", "detour": "wireguard_out", "domain_strategy": "ipv4_only" }, { "type": "wireguard", "tag": "wireguard_out", "local_address": [ "172.16.0.2/32", "2606:4700:110:8535:788c:3bc4:6287:5063/128" ], "private_key": "xxx", "server": "162.159.192.1", "server_port": 2408, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "3woB", "mtu": 1280 } ], "route": { "geosite": { "path": "/etc/v2ray-agent/sing-box/conf/geosite.db" }, "rules": [ { "domain": [ "ip.gs", "ip.sb" ], "outbound": "wireguard_out_IPv4" } ] } }
似乎还是route的问题? 我尝试使用一个本地sock代替
wireguard
的出站,也无法做到分流。
不按照模版提交,一律关闭,反馈之前请仔细阅读脚本异常处理,客户端使用教程、建议使用20卸载后重新尝试
1.问题描述
安装 Hysteria 后使用
11.分流工具
中的 wrap 分流,会使 Hysteria 全局走warp2.安装失败的log或者截图
sing-box config
3.系统版本
Debian 11
4.脚本版本
v2.11.21