v2ray-config-text/v2ray_install.md

502 B

二进制安装v2ray

apt install ufw curl net-tools -y || yum install curl -y
#安装v2
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

#下载配置文件

wget https://shagain.club/wenjian/config.json
cat config.json > /usr/local/etc/v2ray/config.json

#启动
systemctl start v2ray
systemctl enable v2ray
ufw allow ssh
wget https://shagain.club/yijian.sh
bash yijian.sh

cat /usr/local/etc/v2ray/config.json  | jq '.inbounds[0].port'