/v2ray4heroku

Deploy V2ray on Heroku

Primary LanguageShell

V2Ray4Heroku

概述

用于在 Heroku 上部署 V2Ray

部署

Deploy

环境变量

UUID

供用户连接的 UUID,可默认,也可通过 http://www.uuid.online/https://www.uuidgenerator.net/ 生成

客户端连接

  • 协议(protocol) - vmess
  • 地址(address) - [app].herokuapp.com
  • 端口(port) - 443
  • 用户ID(id) - [UUID]
  • 额外ID(alterId) - 64
  • 传输协议(network) - ws
  • 底层传输安全(tls) - tls
{
  "inbounds": [],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "[app].herokuapp.com",
            "port": 443,
            "users": [
              {
                "id": "[UUID]",
                "alterId": 64,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "allowInsecure": true
        }
      }
    }
  ]
}

参考