From a0526285d0b8874cf478d917c622ec9763d9ff76 Mon Sep 17 00:00:00 2001 From: lingling Date: Tue, 1 Mar 2022 19:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=A4=9AIP=E5=87=BA?= =?UTF-8?q?=E5=8F=A3=E5=AE=9E=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ws_ips_out.md | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 ws_ips_out.md diff --git a/ws_ips_out.md b/ws_ips_out.md new file mode 100644 index 0000000..64724dc --- /dev/null +++ b/ws_ips_out.md @@ -0,0 +1,68 @@ +# 多出口IP实例 + +``` +{ + "inbounds": [ + { + "protocol": "vmess", + "port": "9001", + "listen": "0.0.0.0", + "settings": { + "clients": [ + { + "id": "2ee57806-f6e4-482a-ef08-7360c04cd3e5", + "alterId": 64, + "email": "user1@v2ray.com" + }, + { + "id": "2ee57806-f6e4-482a-ef08-7360c04cd3e6", + "alterId": 64, + "email": "user2@v2ray.com" + } + ] + }, + "streamSettings": { + "network": "ws", + "security": "none", + "wsSettings": { + "path": "/", + "headers": {} + } + } + } + ], + "outbounds": [ + { + "sendThrough": "199.101.170.25", + "protocol": "freedom", + "settings": {}, + "tag": "ip1" + }, + { + "sendThrough": "199.101.170.26", + "protocol": "freedom", + "settings": {}, + "tag": "ip2" + } + ], + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "user": [ + "user1@v2ray.com" + ], + "outboundTag": "ip1" + }, + { + "type": "field", + "user": [ + "user2@v2ray.com" + ], + "outboundTag": "ip2" + } + ] + } +} +``` \ No newline at end of file