{
  "log": {
    "level": "warn",
    "timestamp": true
  },
  "dns": {
    "servers": [
      {
        "type": "udp",
        "tag": "local-dns",
        "server": "119.29.29.29"
      },
      {
        "type": "https",
        "tag": "remote-dns",
        "server": "1.1.1.1",
        "detour": "SG-EXIT"
      }
    ],
    "final": "remote-dns",
    "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": false,
      "stack": "gvisor",
      "mtu": 1400
    },
    {
      "type": "mixed",
      "tag": "mixed-in",
      "listen": "127.0.0.1",
      "listen_port": 2080
    }
  ],
  "outbounds": [
    {
      "type": "hysteria2",
      "tag": "🇸🇬新加坡 | 高速专线-hy2",
      "server": "67.159.48.147",
      "server_port": 60000,
      "server_ports": [
        "60000:63000"
      ],
      "password": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "tls": {
        "enabled": true,
        "server_name": "www.apple.com",
        "insecure": true
      }
    },
    {
      "type": "hysteria2",
      "tag": "🇸🇬新加坡2 | 高速专线-hy2",
      "server": "67.159.48.147",
      "server_port": 60000,
      "server_ports": [
        "60000:63000"
      ],
      "password": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "tls": {
        "enabled": true,
        "server_name": "www.apple.com",
        "insecure": true
      }
    },
    {
      "type": "vless",
      "tag": "🇸🇬AWS新加坡01",
      "server": "pq.aws63.yydjc.top",
      "server_port": 443,
      "domain_resolver": "local-dns",
      "uuid": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "iosapps.itunes.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "mnshlVo5tkzYbmEB9xrgmUHwYETnXLAjjlGAssqaDGI",
          "short_id": "436299c6"
        }
      }
    },
    {
      "type": "vless",
      "tag": "🇸🇬AWS新加坡02",
      "server": "pq.aws64.yydjc.top",
      "server_port": 443,
      "domain_resolver": "local-dns",
      "uuid": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "iosapps.itunes.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "xjWkdgeetCnB1-kHqwVnAaSUqg4qK9TFWQlamW8FSRI",
          "short_id": "e2e15173"
        }
      }
    },
    {
      "type": "vless",
      "tag": "🇸🇬AWS新加坡03",
      "server": "pq.aws65.yydjc.top",
      "server_port": 443,
      "domain_resolver": "local-dns",
      "uuid": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "iosapps.itunes.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "9076EbD5vM8kATc_08QvDiqZF5KHTM_LaSrMOvcwfHw",
          "short_id": "57b7989c"
        }
      }
    },
    {
      "type": "vless",
      "tag": "🇸🇬AWS新加坡04",
      "server": "pq.aws66.yydjc.top",
      "server_port": 443,
      "domain_resolver": "local-dns",
      "uuid": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "iosapps.itunes.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "OmGeSOsHQMl3Rm6G3SzYjmZvgFYBF489vxfbBCNDWjw",
          "short_id": "289c74e0"
        }
      }
    },
    {
      "type": "vless",
      "tag": "🇸🇬AWS新加坡05",
      "server": "pq.aws67.yydjc.top",
      "server_port": 443,
      "domain_resolver": "local-dns",
      "uuid": "19b0635e-a2ab-4f96-b96f-e8005235846b",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "updates.cdn-apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "iusZvFfHH5OJ6sAPFF6e7Km9WP0nmWfjXXfhTQuSR24",
          "short_id": "8b6e932c"
        }
      }
    },
    {
      "type": "urltest",
      "tag": "⚡ 跳板-SG专线hy2",
      "outbounds": [
        "🇸🇬新加坡2 | 高速专线-hy2",
        "🇸🇬新加坡 | 高速专线-hy2"
      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "2m",
      "tolerance": 80
    },
    {
      "type": "urltest",
      "tag": "🛡️ 跳板-SG纯TCP",
      "outbounds": [
        "🇸🇬AWS新加坡03",
        "🇸🇬AWS新加坡02",
        "🇸🇬AWS新加坡05",
        "🇸🇬AWS新加坡04",
        "🇸🇬AWS新加坡01"
      ],
      "url": "https://www.gstatic.com/generate_204",
      "interval": "2m",
      "tolerance": 80
    },
    {
      "type": "selector",
      "tag": "🎛️ 跳板模式",
      "outbounds": [
        "⚡ 跳板-SG专线hy2",
        "🛡️ 跳板-SG纯TCP"
      ],
      "default": "⚡ 跳板-SG专线hy2"
    },
    {
      "type": "vless",
      "tag": "SG-EXIT",
      "server": "142.91.102.16",
      "server_port": 2083,
      "uuid": "0f26e43b-ae31-4e8f-9b7d-c794e54b333a",
      "flow": "xtls-rprx-vision",
      "tls": {
        "enabled": true,
        "server_name": "www.apple.com",
        "utls": {
          "enabled": true,
          "fingerprint": "ios"
        },
        "reality": {
          "enabled": true,
          "public_key": "LKb1BHwM_JL7L4HbWxhxWYIT67Wd0PMZlFgIeZ9GuxE",
          "short_id": "642c04a9c44d525a"
        }
      },
      "detour": "🎛️ 跳板模式"
    },
    {
      "type": "direct",
      "tag": "direct"
    }
  ],
  "route": {
    "rules": [
      {
        "action": "sniff"
      },
      {
        "protocol": "dns",
        "action": "hijack-dns"
      },
      {
        "ip_version": 6,
        "action": "reject"
      },
      {
        "protocol": "quic",
        "action": "reject"
      },
      {
        "ip_is_private": true,
        "outbound": "direct"
      }
    ],
    "final": "SG-EXIT",
    "default_domain_resolver": "local-dns",
    "auto_detect_interface": true
  }
}