v2ray
v2ray
安装
bash <(curl -L -s https://install.direct/go.sh)
statemctl enable v2ray
systemctl start v2ray
systemctl status v2ray 配置
cat /etc/v2ray/config.json
{
"inbounds": [{
"port": XXX,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "XXX",
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/XXX"
}
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
}]
}证书
nginx
安装
配置
cat /etc/nginx/conf.d/v2ray.conf
Last updated
Was this helpful?
