Skip to content

set email for user & dynamic port not supported in V5 config #3419

Open
@rhjdvsgsgks

Description

@rhjdvsgsgks

What version of V2Ray are you using?

5.23.0

What's your scenario of using V2Ray?

updating my old v4 config to v5

What problems have you encountered?

in v4 config i can route traffic based on email. but in v5 config, only user id has been kept for vmess. there is no way to set email for a user

seems like it also unable to configure dynamic port in v5 config

also #1944

What's your expectation?

keep the same fields as v4 for vmess

Please attach your configuration here

{
  "inbounds": [
    {
      "port": 1000,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "id",
            "email": "email"
          }
        ],
        "detour": {
          "to": "dynamicPort"
        }
      },
      "streamSettings": {
        "network": "tcp"
      },
      "tag": "tcp"
    },
    {
      "protocol": "vmess",
      "port": "1000-2000",
      "tag": "dynamicPort",
      "allocate": {
        "strategy": "random",
        "concurrency": 3,
        "refresh": 5
      },
      "streamSettings": {
        "network": "tcp"
      }
    }
  ]
}

Client configuration:

not relevant

Please attach error logs here

no error

Please attach access log here

not relevant

Other configurations (such as Nginx) and logs here

not relevant

If V2Ray cannot start up, please attach output from --test command

not relevant

If V2Ray service is abnormal, please attach journal log here

not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions