v2ray多IP


{
    "inbounds": [
        {
            "protocol": "vmess",
            "port": "端口",
            "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": "2.2.2.2", //IP1
            "protocol": "freedom",
            "settings": {},
            "tag": "ip1"
        },
        {
            "sendThrough": "1.1.1.1", //IP2
            "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"
            }
        ]
    }
}

声明:小小博客|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - v2ray多IP


Carpe Diem and Do what I like