v2强制出口v6


{
  "inbounds": [
    {
      "port": 1600,
      "protocol": "vmess",    
      "settings": {
        "clients": [
          {
            "id": "2ee57806-f6e4-482a-ef08-7360c04cd3e6",  
            "alterId": 64
          }
        ]
      },
      "sniffing": {
        "enabled": true, 
        "destOverride": ["http", "tls"]
      },
      "streamSettings": {
        "network": "ws",
        "security": "none",
        "wsSettings": {
          "path": "/",
          "headers": {}
        }
      }
    }
  ],
  "outbounds": [
    {
      "tag":"IP4_out",
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag":"IP6_out",
      "protocol": "freedom",
      "settings": {
        "domainStrategy": "UseIPv6" 
      }
    }
  ],
  "routing": {
    "rules": [
      {
        "type": "field",
        "outboundTag": "IP4_out",
        "domain": ["geosite:baidu"] 
      },
      {
        "type": "field",
        "outboundTag": "IP6_out",
        "network": "udp,tcp"
      }
    ]
  }
}

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

转载:转载请注明原文链接 - v2强制出口v6


Carpe Diem and Do what I like