{
  "outbounds": [
    {"type": "direct", "tag": "direct"},
    {"type": "socks", "tag": "warp", "server": "127.0.0.1", "server_port": 24880, "version": "5", "network": "tcp"}
  ],
  "route": {
    "rule_set": [
      {"type": "local", "tag": "ai", "format": "source", "path": "/var/lib/sing-box/warp-rules/ai.json"},
      {"type": "local", "tag": "stripe", "format": "source", "path": "/var/lib/sing-box/warp-rules/stripe.json"},
      {"type": "local", "tag": "stripe-extra", "format": "source", "path": "/var/lib/sing-box/warp-rules/stripe-extra.json"}
    ],
    "rules": [
      {"inbound": ["YOUR_PROXY_INBOUND_TAG"], "action": "sniff", "sniffer": ["http", "tls", "quic"], "timeout": "300ms"},
      {"inbound": ["YOUR_PROXY_INBOUND_TAG"], "rule_set": ["ai", "stripe", "stripe-extra"], "network": "udp", "action": "reject"},
      {"inbound": ["YOUR_PROXY_INBOUND_TAG"], "rule_set": ["ai", "stripe", "stripe-extra"], "network": "tcp", "action": "route", "outbound": "warp"}
    ],
    "final": "direct"
  }
}
