{"action":"opened","issue":{"url":"https://api.github.com/repos/v2ray/discussion/issues/200","repository_url":"https://api.github.com/repos/v2ray/discussion","labels_url":"https://api.github.com/repos/v2ray/discussion/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/v2ray/discussion/issues/200/comments","events_url":"https://api.github.com/repos/v2ray/discussion/issues/200/events","html_url":"https://github.com/v2ray/discussion/issues/200","id":430498781,"node_id":"MDU6SXNzdWU0MzA0OTg3ODE=","number":200,"title":"vmess 是否支持多端口","user":{"login":"USDao","id":46472876,"node_id":"MDQ6VXNlcjQ2NDcyODc2","avatar_url":"https://avatars1.githubusercontent.com/u/46472876?v=4","gravatar_id":"","url":"https://api.github.com/users/USDao","html_url":"https://github.com/USDao","followers_url":"https://api.github.com/users/USDao/followers","following_url":"https://api.github.com/users/USDao/following{/other_user}","gists_url":"https://api.github.com/users/USDao/gists{/gist_id}","starred_url":"https://api.github.com/users/USDao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USDao/subscriptions","organizations_url":"https://api.github.com/users/USDao/orgs","repos_url":"https://api.github.com/users/USDao/repos","events_url":"https://api.github.com/users/USDao/events{/privacy}","received_events_url":"https://api.github.com/users/USDao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-08T14:56:19Z","updated_at":"2019-04-08T14:56:19Z","closed_at":null,"author_association":"NONE","body":"提交 Issue 之前请先阅读 Issue 指引，然后回答下面的问题，谢谢。\r\n除非特殊情况，请完整填写所有问题。不按模板发的 issue 将直接被关闭。\r\n如果你遇到的问题不是 V2Ray 的 bug，比如你不清楚要如何配置，请使用Discussion进行讨论。\r\n\r\n1.你正在使用哪个版本的 V2Ray？（如果服务器和客户端使用了不同版本，请注明）\r\n服务器和客户端都是4.18.0，服务器是centos。\r\n\r\n2.你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。\r\n客户端v2rayng，手机直连\r\n\r\n3.你看到的不正常的现象是什么？（请描述具体现象，比如访问超时，TLS 证书错误等）\r\ninbounds和inboundsDetour 使用vmess 启用16600 19600两个端口，启动后发现只有16600端口处于监听状态。\r\n\r\n4.你期待看到的正确表现是怎样的？\r\nvmess，可以支持多个端口工作\r\n请附上你的配置（提交 Issue 前请隐藏服务器端IP地址）。\r\n服务器端配置:\r\n{\r\n  \"log\" : {\r\n    \"access\": \"/var/log/v2ray/access.log\",\r\n    \"error\": \"/var/log/v2ray/error.log\",\r\n    \"loglevel\": \"warning\"\r\n  },\r\n  \"inbounds\": [\r\n    {\r\n      \"port\": 16600, //推荐80端口，更好地迷惑防火墙（好吧实际上并没有什么卵用\r\n      \"protocol\": \"vmess\",\r\n      \"settings\": {\r\n        \"clients\": [\r\n          {\r\n            \"id\": \"uuid\",\r\n            \"level\": 1,\r\n            \"alterId\": 64\r\n          }\r\n        ]\r\n      },\r\n      \"streamSettings\": {\r\n        \"network\": \"tcp\",\r\n        \"tcpSettings\": {\r\n          \"header\": { // header 这一项是关于数据包伪装的设置，可自定义合理的内容，但要确保服务器与客户端一致\r\n            \"type\": \"http\",\r\n            \"response\": {\r\n              \"version\": \"1.1\",\r\n              \"status\": \"200\",\r\n              \"reason\": \"OK\",\r\n              \"headers\": {\r\n                \"Content-Type\": [\"application/octet-stream\", \"application/x-msdownload\", \"text/html\", \"application/x-shockwave-flash\"],\r\n                \"Transfer-Encoding\": [\"chunked\"],\r\n                \"Connection\": [\"keep-alive\"],\r\n                \"Pragma\": \"no-cache\"\r\n              }\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  ],\r\n    \"outbounds\": [\r\n    {\r\n      \"protocol\": \"freedom\",\r\n      \"settings\": {}\r\n    },\r\n    {\r\n      \"protocol\": \"blackhole\",\r\n      \"settings\": {},\r\n      \"tag\": \"blocked\"\r\n    }\r\n  ],\r\n    \"inboundsDetour\": [\r\n    {\r\n      \"port\": 19600, //推荐80端口，更好地迷惑防火墙（好吧实际上并没有什么卵用\r\n      \"protocol\": \"vmess\",\r\n      \"settings\": {\r\n        \"clients\": [\r\n          {\r\n            \"id\": \"uuid\",\r\n            \"level\": 1,\r\n            \"alterId\": 64\r\n          }\r\n        ]\r\n      },\r\n      \"streamSettings\": {\r\n        \"network\": \"tcp\",\r\n        \"tcpSettings\": {\r\n          \"header\": { // header 这一项是关于数据包伪装的设置，可自定义合理的内容，但要确保服务器与客户端一致\r\n            \"type\": \"http\",\r\n            \"response\": {\r\n              \"version\": \"1.1\",\r\n              \"status\": \"200\",\r\n              \"reason\": \"OK\",\r\n              \"headers\": {\r\n                \"Content-Type\": [\"application/octet-stream\", \"application/x-msdownload\", \"text/html\", \"application/x-shockwave-flash\"],\r\n                \"Transfer-Encoding\": [\"chunked\"],\r\n                \"Connection\": [\"keep-alive\"],\r\n                \"Pragma\": \"no-cache\"\r\n              }\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  ],\r\n    \"outboundsDetour\": [\r\n    {\r\n      \"protocol\": \"freedom\",\r\n      \"settings\": {}\r\n    },\r\n    {\r\n      \"protocol\": \"blackhole\",\r\n      \"settings\": {},\r\n      \"tag\": \"blocked\"\r\n    }\r\n  ],\r\n  \"routing\": {\r\n    \"strategy\": \"rules\",\r\n    \"settings\": {\r\n      \"rules\": [\r\n        {\r\n          \"type\": \"field\",\r\n          \"ip\": [\r\n            \"geoip:private\"\r\n          ],\r\n          \"outboundTag\": \"blocked\"\r\n        }\r\n      ]\r\n    }\r\n \r\n"}}
{"actor":{"display_login":"USDao"}}