v2r

# sudo -i
mkdir /root/v2r

vim /root/v2r/config.json
{
  "inbounds": [
    {
      "port": 6666,  # 自行更改需和client一致
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "937a376b-1723-40de-9815-3bcee70cc8b8",  # 自行更改需和client一致
            "alterId": 64
          }
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}
docker run -d --name v2r -v /root/v2r:/etc/v2r~~ay~~ --network=host --restart=always v2r~~ay~~/official  v2r~~ay~~ -config=/etc/v2r~~ay~~/config.json

windows客户端只需要设置地址、端口、用户uuid一致,其他默认即可。

参考:https://www.iszy.cc/2019/02/18/v2ray-config/

你可能感兴趣的:(v2r)