Skip to content

no info how to get plaint v2ray config #53

@CharaVerKys

Description

@CharaVerKys

i tried for 3 or more days, and i just not understand how to translate subs into actual configs to just xray core
i just not understand what to use

I suggest to add any info about it on readme, also plz help meeeee

for example
this nekoray config (in readable format from sub.txt)

{
    "bean": {
        "_v": 0,
        "addr": "83.222.23.113",
        "flow": "xtls-rprx-vision",
        "name": "🔒 VL-TCP-RLT 🇰🇿 KZ-83.222.23.113:443",
        "pass": "9a8a52d6-f24b-4f03-bf6f-f4854717f54e",
        "port": 443,
        "stream": {
            "ed_len": 0,
            "insecure": false,
            "mux_s": 0,
            "net": "tcp",
            "pbk": "Jwam5OBjXf4bffZzA3IqzfcNONIMhYMgjysXPU44XFU",
            "sec": "tls",
            "sid": "c4da507c203b545a",
            "sni": "google.com",
            "utls": "chrome"
        }
    },
    "gid": 1,
    "id": 1954,
    "traffic": {
        "dl": 112702663122,
        "ul": 9825055969
    },
    "type": "vless",
    "yc": 481
}

i translated into xray like this: (https://github.com/xtls/Xray-examples)

{
  "inbounds": [
    {
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": { "auth": "noauth", "udp": true } // true and false no diff
    }
 // tried adding sniffing here, no effect
  ],
  "outbounds": [
    {
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "83.222.23.113",
            "port": 443,
            "users": [
              {
                "id": "9a8a52d6-f24b-4f03-bf6f-f4854717f54e",
                "encryption": "none",
                "flow": "xtls-rprx-vision"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "tcp",
        "security": "reality", //tried also setting tcp, but it not works + it is reality, by name and pbk and sid in nekoray::bean
        "realitySettings": {
          "serverName": "google.com",
          "fingerprint": "chrome",
          "publicKey": "Jwam5OBjXf4bffZzA3IqzfcNONIMhYMgjysXPU44XFU",
          "shortId": "c4da507c203b545a",
          "spiderX": "/"
        }
      }
    }
  ]
}
// adding tag proxy also not helps, and it isnt actually config that change anything here

run as xray -c config.json
(just xray core itself)

error almost always is ...http2.goAwayFrame before SETTINGS... or reset by pear (when even wronger config i guess)
this nekoray config works, and i use it right now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions