v2ray-examples icon indicating copy to clipboard operation
v2ray-examples copied to clipboard

VMess to VLESS

Open ghost opened this issue 5 years ago • 2 comments

Hi I have a website with the following server side configuration already working: CDN -> Apache Web Server (reverse proxy) -> V2Ray Docker Container (port forwarding) -> V2ray with VMess protocol.

I want to try out VLESS. How should I modify my VMess conf file to make it work?

I've look through all the examples, they are not really helpful in my case. They all sort of exposing VLESS directly in the front, which is not my use case. I am particularly confused with the "fallback" setting in my situation.

{
  "inbounds": [
    {
      "port": 1087,
      "protocol": "vmess", 
      "settings": {
        "clients": [
          {
            "id": "",
            "alterId": 128
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
        "path": "/my_masked_path"
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

ghost avatar Jan 16 '21 22:01 ghost

V2ray don't support vless anymore. You can use xray

被移除的是 xtls,不是 VLESS

EpLiar avatar Jan 17 '21 01:01 EpLiar

Check this config https://github.com/XTLS/Xray-examples/blob/main/VLESS-TCP-TLS-WS%20(recommended)/config_server.json

jinwyp avatar Jul 20 '22 15:07 jinwyp