跳到主要内容

配置生成器

几步生成 Xray-core 入站配置,粘贴到面板的配置文件中即可。生成器不写入客户端 —— 面板会根据用户数据自动填充。

基础

  • REALITY 需要私钥:xray x25519
生成的入站配置
{
  "tag": "vless-inbound",
  "listen": "0.0.0.0",
  "port": 443,
  "protocol": "vless",
  "settings": {
    "decryption": "none",
    "clients": []
  },
  "streamSettings": {
    "network": "tcp",
    "security": "reality",
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    },
    "realitySettings": {
      "show": false,
      "dest": "www.example.com:443",
      "xver": 0,
      "serverNames": [
        "www.example.com"
      ],
      "privateKey": "",
      "shortIds": []
    }
  },
  "sniffing": {
    "enabled": true,
    "destOverride": [
      "http",
      "tls",
      "quic"
    ],
    "routeOnly": true
  }
}