v2fly / v2ray-examples

v2ray-core 的模板们
2.35k stars 740 forks source link

VMess to VLESS #62

Open J4gQBqqR opened 3 years ago

J4gQBqqR commented 3 years ago

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": {}
    }
  ]
}
EpLiar commented 3 years ago

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

被移除的是 xtls,不是 VLESS

jinwyp commented 2 years ago

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