手搓xray配置文件
手搓xray很简单
1.安装xray
bash -c “$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)” @ install
2.配置文件
nano /usr/local/etc/xray/config.json
3.配置示例
1 | { |
4.重启xray
systemctl restart xray
5.查看xray状态
systemctl status xray
6.设置开机启动
systemctl enable xray
不会被偷跑流量的 REALITY
https://github.com/XTLS/Xray-examples/tree/main/VLESS-TCP-REALITY%20(without%20being%20stolen)
自用配置示例
config_server.jsonc
1 | { |
分享链接
1 | vless://658a9fd3-3740-4df1-9f2c-846b199c9461@你的IP地址或域名:16666?encryption=none&flow=xtls-rprx-vision&security=reality&sni=yahoo.com&fp=chrome&pbk=dGOEx_o20MJDAedTN6K3Ri7v2j6KH2KvlxhK3UluWEc&sid=8bc9dcb3a49c4270&spx=%2F&type=tcp&headerType=none#dokodemo-in |
自己修改了服务端的哪些东西,对应的分享链接也需要对应修改
一键脚本
1 | wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/2253845067/Xray_install/main/install.sh" && chmod +x install.sh && bash install.sh |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 与亓のBlog!
评论