全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
12
返回列表 发新帖
楼主: 卤蛋

某V在一台机器上让tcp和ws tls共存吗

[复制链接]
发表于 2021-12-20 20:18:46 | 显示全部楼层
卤蛋 发表于 2021-12-20 20:11
有例子吗大佬,我试了下失败了


找到配置文件“"inbounds": [” 这一行,回车另起一行,复制粘贴保存,重启v2

  1.     {
  2.         "listen": "127.0.0.1",
  3.         "port": 8080,                                          ##端口,自己改一下
  4.         "tag": "vmess-in",
  5.         "protocol": "vmess",
  6.         "settings": {
  7.             "clients": [
  8.                 {
  9.                     "id": "0e0f98f0-3bc8-44b6-a845-8cacd562bf22",  ####uuid,https://1024tools.com/uuid 在线生成uuid,记得修改
  10.             "alterId":64
  11.                 }
  12.             ]
  13.         },
  14.         "streamSettings": {
  15.             "network": "tcp",
  16.             "tcpSettings": {
  17.                 "header": {
  18.                     "type": "http",
  19.                     "response": {
  20.                         "version": "1.1",
  21.                         "status": "200",
  22.                         "reason": "OK",
  23.                         "headers": {
  24.                             "Content-Type": ["application/octet-stream", "video/mpeg"],
  25.                             "Transfer-Encoding": ["chunked"],
  26.                             "Connection": ["keep-alive"],
  27.                             "Pragma": "no-cache"
  28.                         }
  29.                     }
  30.                 }
  31.             }
  32.         }
  33.     },
复制代码
 楼主| 发表于 2021-12-20 20:20:47 | 显示全部楼层
c7J8 发表于 2021-12-20 20:18
找到配置文件“"inbounds": [” 这一行,回车另起一行,复制粘贴保存,重启v2

...

多谢巨佬,回头试试
发表于 2021-12-20 20:23:14 | 显示全部楼层
xray面板好像可以把



/**
* 地狱太冷,我来殉你。  —— 二哈和他的白猫师尊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-5-11 22:03 , Processed in 0.058006 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表