纯IPv6也能科学上网?手把手教你部署Hysteria2 + XUI面板!
系统:Debian12
vps:2001:19f0:7001:1764:5400:05ff:fe5f:78d5
root
u7.AW,(JsiYpC-TX
在线优选IP网站:http://ip.flares.cloud/
一、安装hy2
1.更新VPS系统
apt update && apt upgrade -y && apt autoremove -y
2.安装warp,添加ipv4
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
3.BBR加速
wget --no-check-certificate -O tcpx.sh https://raw.githubusercontent.com/ylx2016/Linux-NetSpeed/master/tcpx.sh
chmod +x tcpx.sh
./tcpx.sh
4.hysteria2安装(需要本地网络有ipv6,不然节点用不了)
wget -N --no-check-certificate https://raw.githubusercontent.com/Misaka-blog/hysteria-install/main/hy2/hysteria.sh && bash hysteria.sh
完成后,在hy文件夹下载hy-client.json文件到桌面,编辑,更改里面的ip为ip6,保存
V2中添加自定义服务器
二、安装X-UI面板搭建节点
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)
关闭防火墙,不然x-ui打不开,debain:sudo ufw disable
安装x-ui成功后,游览器访问ip+端口
共有 0 条评论