htfy96 / v2ray-config-gen

V2Ray Configuration generator
Apache License 2.0
282 stars 93 forks source link

多IP可以用這個配置嗎? #17

Open 87502560 opened 2 years ago

87502560 commented 2 years ago

{ "inbounds": [ { "protocol": "vmess", "port": "xxxx", "listen": "127.0.0.1", "settings": { "clients": [ { "id": "UUID1", "alterId": 4, "email": "user1@v2ray.com" }, { "id": "UUID2", "alterId": 4, "email": "user2@v2ray.com" }, { "id": "UUID3", "alterId": 4, "email": "user3@v2ray.com" } ] }, "streamSettings": { "network": "ws" } } ], "outbounds": [ { "sendThrough": "1.1.1.1", "protocol": "freedom", "settings": {}, "tag": "ip1" }, { "sendThrough": "2.2.2.2", "protocol": "freedom", "settings": {}, "tag": "ip2" }, { "sendThrough": "3.3.3.3", "protocol": "freedom", "settings": {}, "tag": "ip3" } ], "routing": { "domainStrategy": "AsIs", "rules": [ { "type": "field", "user": [ "user1@v2ray.com" ], "outboundTag": "ip1" }, { "type": "field", "user": [ "user2@v2ray.com" ], "outboundTag": "ip2" }, { "type": "field", "user": [ "user3@v2ray.com" ], "outboundTag": "ip3" } ] }, "transport": { "wsSettings": { "path": "/xxx" } } }