From 3c7aec4d82062021d6d2c6c0f9f26dc71424b47e Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Thu, 26 Sep 2024 10:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=9A=E4=B8=AAsocks?= =?UTF-8?q?=E5=87=BA=E5=8F=A3=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sock_outVmess_in.md | 127 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 sock_outVmess_in.md diff --git a/sock_outVmess_in.md b/sock_outVmess_in.md new file mode 100644 index 0000000..280a120 --- /dev/null +++ b/sock_outVmess_in.md @@ -0,0 +1,127 @@ +socks多个出vmess多个入 +``` +{ + "inbounds": [ + { + "port": 9002, + "listen": "0.0.0.0", + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "2ee57806-f6e4-482a-ef08-7360c04cd3e5", + "alterId": 64 + } + ] + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "path": "/", + "headers": {} + } + }, + "tag": "vmess1", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + }, + { + "port": 9003, + "listen": "0.0.0.0", + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "2ee57806-f6e4-482a-ef08-7360c04cd3e5", + "alterId": 64 + } + ] + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "path": "/", + "headers": {} + } + }, + "tag": "vmess2", + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls" + ] + } + } + ], + "outbounds": [ + { + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "34.125.84.146", + "port": 2222, + "users": [ + { + "user": "us", + "pass": "us" + } + ] + } + ] + }, + "tag": "socks1" + }, + { + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "34.125.252.181", + "port": 3333, + "users": [ + { + "user": "936", + "pass": "936" + } + ] + } + ] + }, + "tag": "socks2" + }, + { + "protocol": "blackhole", + "settings": {}, + "tag": "blocked" + } + ], + "routing": { + "rules": [ + { + "type": "field", + "inboundTag": [ + "vmess1" + ], + "outboundTag": "socks1" + }, + { + "type": "field", + "inboundTag": [ + "vmess2" + ], + "outboundTag": "socks2" + } + ] + } + } + +``` \ No newline at end of file