{
  "log": {
    "level": "info",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "tag": "remote",
        "address": "https://1.1.1.1/dns-query",
        "detour": "Proxy"
      },
      {
        "tag": "local",
        "address": "local"
      }
    ],
    "rules": [
      {
        "clash_mode": "Direct",
        "server": "local"
      },
      {
        "clash_mode": "Global",
        "server": "remote"
      }
    ],
    "final": "remote",
    "strategy": "ipv4_only"
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "address": [
        "172.19.0.1/30",
        "fdfe:dcba:9876::1/126"
      ],
      "auto_route": true,
      "strict_route": true,
      "sniff": true
    }
  ],
  "outbounds": [
    {
      "type": "selector",
      "tag": "Proxy",
      "outbounds": [
        "Auto",
        "vless-taiwan",
        "US cloud",
        "hy-kor",
        "Direct"
      ],
      "default": "Auto"
    },
    {
      "type": "urltest",
      "tag": "Auto",
      "outbounds": [
        "vless-taiwan",
        "US cloud",
        "hy-kor"
      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "10m",
      "tolerance": 50
    },
    {
      "type": "vless",
      "tag": "vless-taiwan",
      "server": "dev.nishiki.tech",
      "server_port": 8443,
      "uuid": "b8779bb0-5758-444b-8075-3a7e6cfc6650",
      "tls": {
        "enabled": true,
        "server_name": "dev.nishiki.tech"
      }
    },
    {
      "type": "hysteria2",
      "tag": "US cloud",
      "server": "35.212.236.90",
      "server_port": 443,
      "password": "4f72a508722a7092093fc4aef7d49a9c",
      "tls": {
        "enabled": true,
        "server_name": "cloud.nishiki.tech",
        "alpn": [
          "h3"
        ],
        "insecure": false
      }
    },
    {
      "type": "hysteria2",
      "tag": "hy-kor",
      "server": "20.196.113.73",
      "server_port": 8443,
      "password": "maiyuqi5352",
      "tls": {
        "enabled": true,
        "server_name": "streammaggy.dpdns.org",
        "insecure": false
      }
    },
    {
      "type": "direct",
      "tag": "Direct"
    },
    {
      "type": "block",
      "tag": "Block"
    },
    {
      "type": "dns",
      "tag": "dns-out"
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "rules": [
      {
        "protocol": "dns",
        "outbound": "dns-out"
      },
      {
        "ip_is_private": true,
        "outbound": "Direct"
      }
    ],
    "final": "Proxy"
  },
  "experimental": {
    "cache_file": {
      "enabled": true
    }
  }
}
