Hysteria2 upd模式开启网络冲浪

199次阅读
没有评论

共计 1302 个字符,预计需要花费 4 分钟才能阅读完成。

一。搭建步骤

1.系统组件升级至最新:

apt update -y && apt install -y curl && apt install -y socat

2.Hysteria 2 一键安装脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/flame1ce/hysteria2-install/main/hysteria2-install-main/hy2/hysteria.sh && bash hysteria.sh

3.查看 hysteria 服务 状态

systemctl status hysteria-server.service

4.启动 hysteria 服务

systemctl start hysteria-server.service

5.设置 hysteria 服务 开机自启

systemctl enable hysteria-server.service

6.其他常用命令停止 hysteria 服务

systemctl stop hysteria-server.service

重启 hysteria 服务

systemctl restart hysteria-server.servicee
二开放端口

节点如果不能正常使用,请先放行端口,将下面的命令复制, 粘贴后敲回车.注意: 80和443一定要开放, 另外, 再将 xxx 改为你自己的hysterial监听端口。

iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
iptables -I INPUT -p tcp --dport xxx -j ACCEPT

开放所有端口

ufw disable

四、客户端配置

1、Windows 建议使用 V2rayNV2rayn 最新版下载 :https://github.com/2dust/v2rayn/releases

2、IOS/MAC 建议使用 Shadowrocket($2.99) 或 Karing(免费)需要使用美区 AppleID 登录 App Store 下载,如果没有美区ID,可以点击免费申请一个

3、安卓手机

建议使用 Hiddify或者 Karing

Karing 国内下载: 点击下载>>

Hiddify 国内下载: 点击下载>>

当然, 也可以在 Google Play 商店或其官网自行下载

五、参考网站

项目地址:https://v2.hysteria.network/zh/

项目github地址:https://github.com/apernet/hysteria

六、常见问题

1、搭建的账号之前能用,突然不能用了,怎么解决?

A.如果ip不能ping通,FinalShell不能直接连接vps服务器,说明ip被墙了,需要换ip。进入后台, 点击 chang Ip, 填写表单即可. 建议在美国工作日时间提交, 很快就可以更换IP. 注意, 购买后,前3天免费更换, 过期后$3美元/次.B.如果ip正常,大概率是端口号被封了,换端口号,重新搭建。

2、需要安装bbr加速吗?

不需要。bbr加速是tcp加速,而hysteria是Quic(udp)协议。所以不用再部署bbr加速。

正文完
 0
wudilad
版权声明:本站原创文章,由 wudilad 2025-01-03发表,共计1302字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码