v2fly / discussion

5 stars 0 forks source link

多個 inbound 可以共用 client 清單嗎? #101

Open kelunyang opened 3 years ago

kelunyang commented 3 years ago

是這樣,我的v2ray上掛了兩個inbound,分別是反向代理到校網內的主機和我自己家直連,其實這兩個inbound的client都是同樣的幾個師兄師姐,有辦法讓兩個inbound共用同一個client清單嗎?(我目前是手動複製的)

附上我的inbound設定


  "inbounds": [
    {  
      "tag":"ToLab",
      "port":12345,
      "protocol":"vmess",
      "settings":{  
        "clients":[  
          {
            "id": "user1",
            "level": 1,
            "alterId": 64,
            "email": "user1@test,com"
            }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
          "connectionReuse": false,
          "path": "/v2Lab"
        }
      }
    },
    {
      "tag": "v2rayIn",
      "port": 54321,
      "protocol": "vmess",    
      "settings": {
        "clients": [
          {
          "id": "user1",
          "level": 1,
          "alterId": 64,
          "email": "user1@test.com"
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
          "connectionReuse": false,
          "path": "/v2ray"
        }
      }
    }
`
kslr commented 3 years ago

不行

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days