全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 栉风沐雨

最笨的办法,7个V2客户端

[复制链接]
匿名
匿名  发表于 2023-12-2 02:51:29
ChatGPT生成,还没试试是否可用

  1. {
  2.   "inbounds": [
  3.     {
  4.       "port": 1080,
  5.       "protocol": "socks",
  6.       "listen": "127.0.0.1",
  7.       "tag": "inbound_1", // 入站连接标签,用于路由
  8.       "settings": {
  9.         "auth": "noauth" // 无需认证,可根据需求更改
  10.       }
  11.     },
  12.     {
  13.       "port": 1081,
  14.       "protocol": "socks",
  15.       "listen": "127.0.0.1",
  16.       "tag": "inbound_2", // 入站连接标签,用于路由
  17.       "settings": {
  18.         "auth": "noauth" // 无需认证,可根据需求更改
  19.       }
  20.     }
  21.   ],
  22.   "outbounds": [
  23.     {
  24.       "protocol": "vless",
  25.       "settings": {
  26.         // 第一个服务器的配置信息
  27.         "vnext": [
  28.           {
  29.             "address": "server1_ip", // 第一个服务器的 IP 地址
  30.             "port": 10001, // 第一个服务器的端口
  31.             "users": [
  32.               {
  33.                 "id": "uuid_server1", // 第一个服务器的 UUID
  34.                 "level": 0,
  35.                 "email": "email_server1@example.com" // 第一个服务器的邮箱
  36.               }
  37.             ]
  38.           }
  39.         ]
  40.       },
  41.       "tag": "outbound_1", // 出站连接标签,用于路由
  42.       "streamSettings": {
  43.         // 第一个服务器的流设置信息
  44.         "network": "tcp,udp" // 代理全局的 TCP 和 UDP 流量
  45.       }
  46.     },
  47.     {
  48.       "protocol": "vless",
  49.       "settings": {
  50.         // 第二个服务器的配置信息
  51.         "vnext": [
  52.           {
  53.             "address": "server2_ip", // 第二个服务器的 IP 地址
  54.             "port": 10002, // 第二个服务器的端口
  55.             "users": [
  56.               {
  57.                 "id": "uuid_server2", // 第二个服务器的 UUID
  58.                 "level": 0,
  59.                 "email": "email_server2@example.com" // 第二个服务器的邮箱
  60.               }
  61.             ]
  62.           }
  63.         ]
  64.       },
  65.       "tag": "outbound_2", // 出站连接标签,用于路由
  66.       "streamSettings": {
  67.         // 第二个服务器的流设置信息
  68.         "network": "tcp,udp" // 代理全局的 TCP 和 UDP 流量
  69.       }
  70.     }
  71.   ],
  72.   "routing": {
  73.     "rules": [
  74.       {
  75.         "type": "field",
  76.         "inboundTag": ["inbound_1"],
  77.         "outboundTag": "outbound_1",
  78.         "network": "tcp,udp" // 代理全局的 TCP 和 UDP 流量
  79.       },
  80.       {
  81.         "type": "field",
  82.         "inboundTag": ["inbound_2"],
  83.         "outboundTag": "outbound_2",
  84.         "network": "tcp,udp" // 代理全局的 TCP 和 UDP 流量
  85.       }
  86.     ]
  87.   }
  88. }
复制代码
 楼主| 发表于 2023-12-2 04:13:25 | 显示全部楼层
匿名者 发表于 2023-12-2 02:51
ChatGPT生成,还没试试是否可用

感谢,回头我换台电脑试试,非常感谢!!!
发表于 2023-12-2 04:30:16 | 显示全部楼层
https://www.有图比.com/watch?v=fXH5JsB4vWk
这个可能可以帮到你
发表于 2023-12-2 08:15:53 | 显示全部楼层
不管黑猫白猫,抓到老鼠就是好猫
发表于 2023-12-2 09:34:37 | 显示全部楼层
必须用v2ray吗,clash的规则集使用process name匹配就挺好
发表于 2023-12-2 09:36:58 | 显示全部楼层
这个chatgpt都会写
发表于 2023-12-2 09:52:49 来自手机 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2023-12-2 10:17:52 | 显示全部楼层
栉风沐雨 发表于 2023-12-2 00:34
这玩意儿就是不知道怎么弄 , 搜一圈也没看到个教程

手写配置文件即可,别用gui
发表于 2023-12-2 17:10:55 来自手机 | 显示全部楼层
summer365 发表于 2023-12-2 00:25
imbounds监听7个不同的端口,对应不同的outbounds的tag,然后7个浏览器分别连不同的端口 ...

我也这么想的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-6-14 22:49 , Processed in 0.066047 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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