{
  "log": {
    "level": "warn",
    "timestamp": true
  },
  "inbounds": [
    {
      "type": "tun",
      "tag": "tun-in",
      "address": ["172.19.0.1/30"],
      "mtu": 9000,
      "auto_route": true,
      "strict_route": true,
      "stack": "system"
    }
  ],
  "outbounds": [
    {
      "type": "vless",
      "tag": "reality-out",
      "server": "__NODE_HOST__",
      "server_port": 11443,
      "uuid": "ffffffff-ffff-ffff-ffff-ffffffffffff",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "www.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "chrome"
        },
        "reality": {
          "enabled": true,
          "public_key": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "short_id": "deadbeef"
        }
      }
    },
    {
      "type": "hysteria2",
      "tag": "hy2-out",
      "server": "__NODE_HOST__",
      "server_port": 443,
      "password": "__HY2_PASSWORD__",
      "tls": {
        "enabled": true,
        "insecure": true,
        "alpn": ["h3"]
      }
    },
    {
      "type": "urltest",
      "tag": "auto",
      "outbounds": ["reality-out", "hy2-out"],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "3m",
      "tolerance": 50
    },
    {
      "type": "block",
      "tag": "block"
    },
    {
      "type": "direct",
      "tag": "direct"
    }
  ],
  "route": {
    "rules": [
      {
        "ip_cidr": [
          "10.0.0.0/8",
          "172.16.0.0/12",
          "192.168.0.0/16",
          "127.0.0.0/8"
        ],
        "outbound": "direct"
      }
    ],
    "final": "auto",
    "auto_detect_interface": true
  },
  "dns": {
    "servers": [
      {
        "tag": "remote",
        "address": "tls://8.8.8.8",
        "detour": "auto"
      },
      {
        "tag": "local",
        "address": "223.5.5.5",
        "detour": "direct"
      }
    ],
    "final": "remote",
    "strategy": "ipv4_only"
  }
}
