0%

谷歌云搭建v2ray

1. GCP创建VM实例

Computer Engine→VM实例→创建实例
sudo -i
passwd

 bash <(curl -s -L https://233v2.com/v2ray.sh)


2. 打开VM实例SSH页

3.创建防火墙规则
    VPC网络→防火墙规则→创建防火墙规则

谷歌云设置ROOT用户以及允许第三方SSH登录

sed -i ‘s/PermitRootLogin no/PermitRootLogin yes/g’ /etc/ssh/sshd_config
sed -i ‘s/PasswordAuthentication no/PasswordAuthentication yes/g’ /etc/ssh/sshd_config

reboot