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