{
  "log": {
    "loglevel": "warning"
  },
  "dns": {
    "servers": [
      "223.5.5.5",
      "8.8.8.8",
      "1.1.1.1"
    ],
    "queryStrategy": "UseIP"
  },
  "observatory": {
    "probeURL": "https://www.google.com/generate_204",
    "probeInterval": "1m",
    "subjectSelector": [
      "yt1",
      "yt2",
      "nf1",
      "nf2",
      "general"
    ]
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "auth": "noauth",
        "udp": true
      }
    },
    {
      "tag": "http",
      "port": 10809,
      "listen": "127.0.0.1",
      "protocol": "http",
      "settings": {}
    }
  ],
  "outbounds": [
    {
      "tag": "yt1",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "yd.63781887.xyz",
            "port": 443,
            "users": [
              {
                "id": "aa2dac9f-3f71-4969-ae09-165f3d583b6a",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "yd.63781887.xyz",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/jiao",
          "headers": {}
        }
      }
    },
    {
      "tag": "yt2",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "hl.63781887.xyz",
            "port": 443,
            "users": [
              {
                "id": "7902c182-d16b-4ace-e3e8-fc2cea3706da",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "hl.63781887.xyz",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/jiao",
          "headers": {}
        }
      }
    },
    {
      "tag": "nf1",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "cun.30581602.xyz",
            "port": 39327,
            "users": [
              {
                "id": "e26e933b-55a0-40a3-f9aa-fd42dc41dcef",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "cun.30581602.xyz",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/jiao",
          "headers": {}
        }
      }
    },
    {
      "tag": "nf2",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "xui.30581602.xyz",
            "port": 44011,
            "users": [
              {
                "id": "20885dd0-81fc-4313-ee16-848c9159d9a8",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "xui.30581602.xyz",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/jiao",
          "headers": {}
        }
      }
    },
    {
      "tag": "general",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "us.63781887.xyz",
            "port": 443,
            "users": [
              {
                "id": "1fc64dc3-52ea-4eda-8a09-3f8a0a51aee8",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "us.63781887.xyz",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/jiao",
          "headers": {}
        }
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {}
    }
  ],
  "balancers": [
    {
      "tag": "yt-balancer",
      "selector": [
        "yt1",
        "yt2"
      ],
      "strategy": {
        "type": "leastPing"
      }
    },
    {
      "tag": "nf-balancer",
      "selector": [
        "nf1",
        "nf2"
      ],
      "strategy": {
        "type": "leastPing"
      }
    },
    {
      "tag": "default-balancer",
      "selector": [
        "yt1",
        "yt2",
        "nf1",
        "nf2",
        "general"
      ],
      "strategy": {
        "type": "leastPing"
      }
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
      {
        "type": "field",
        "domain": [
          "geosite:youtube"
        ],
        "balancerTag": "yt-balancer"
      },
      {
        "type": "field",
        "domain": [
          "geosite:netflix"
        ],
        "balancerTag": "nf-balancer"
      },
      {
        "type": "field",
        "domain": [
          "geosite:cn"
        ],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "ip": [
          "geoip:cn",
          "geoip:private"
        ],
        "outboundTag": "direct"
      },
      {
        "type": "field",
        "balancerTag": "default-balancer"
      }
    ]
  }
}