Xray-Vless
安装脚本-Release版本
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install -u root
-u 参数指定运行用户root
官方文档- https://xtls.github.io/
配置文件结构
{
"log": {
"loglevel": "none" // 日志
},
"inbounds": [{}], //入站协议
"outbounds": [
{
"protocol": "freedom",
"tag": "direct", //出站协议
}
]
}
运行
安装路径: /usr/local/bin/xray
配置文件路径:/usr/local/etc/xray/config.json
systemctl status xray #查看状态
systemctl restart xray #重新启动