sudo curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh
sudo bash install-release.sh
sudo systemctl enable v2ray
sudo systemctl restart v2ray
config path:
/usr/local/etc/v2ray/config.json
{
"inbounds": [
{
"port": 1080,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "xxxxxxxxxxxxxxxxxxxxxxxxx"
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
还不快抢沙发