curl -O https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh sudo bash install-release.sh systemctl start v2ray systemctl enable v2ray systemctl status v2ray sudo vi /usr/local/etc/v2ray/config.json { "inbounds": [ { "port": 1024, // Listening port "protocol": "shadowsocks", "settings": { "method": "aes-128-gcm", "ota": true, // Whether enable OTA or not "password": "sspasswd" // Password of Shadowsocks } } ], "outbounds": [ { "protocol": "freedom", "settings": {} } ] } systemctl restart v2ray