We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
首先感谢大佬的脚本。
这个问题,我自己也尝试分析了一下,对比 hysteria2 文档,发现开启端口跳跃需要添加 iptables 和 ip6tables,但 v2ray-agent 只添加了第一个,所以在 IPv6 环境无法端口跳跃。测试加上 ip6tables 后问题解决。
iptables
ip6tables
v2ray-agent
# hysteria2 端口跳跃:https://v2.hysteria.network/zh/docs/advanced/Port-Hopping/ # IPv4 iptables -t nat -A PREROUTING -i eth0 -p udp --dport 20000:50000 -j DNAT --to-destination :443 # IPv6 ip6tables -t nat -A PREROUTING -i eth0 -p udp --dport 20000:50000 -j DNAT --to-destination :443
1. 域名只设置了 ipv6 的 AAAA 记录,没有添加 A 记录 2. 打开脚本的 hy2 端口跳跃功能 3. 测试使用客户端连接
2024-05-17T13:09:44+08:00 INFO client mode 2024-05-17T13:09:49+08:00 FATAL failed to initialize client {"error": "connect error: timeout: no recent network activity"}
Ubuntu 22.04.4 LTS
v3.2.52
sing-box
2
请填写
hysteria2
The text was updated successfully, but these errors were encountered:
建议你看看这个apernet/hysteria#629
Sorry, something went wrong.
No branches or pull requests
首先感谢大佬的脚本。
这个问题,我自己也尝试分析了一下,对比 hysteria2 文档,发现开启端口跳跃需要添加
iptables
和ip6tables
,但v2ray-agent
只添加了第一个,所以在 IPv6 环境无法端口跳跃。测试加上ip6tables
后问题解决。1.问题描述
2.安装失败的log或者截图
3.系统版本
4.脚本版本
5.服务端安装的内核、协议、安装方式
6.客户端版本
The text was updated successfully, but these errors were encountered: