{
  "log": {
    "level": "error"
  },
  "dns": {
    "servers": [
      {
        "type": "local",
        "tag": "default"
      }
    ]
  },
  "inbounds": [
    {
      "type": "vless",
      "tag": "vless-in",
      "listen": "0.0.0.0",
      "listen_port": 443,
      "transport": {
        "type": "http"
      }
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct-out"
    },
    {
      "type": "dns",
      "tag": "dns-out"
    },
    {
      "type": "bandwidth-limiter",
      "tag": "bandwidth-limiter",
      "strategy": "manager",
      "route": {
        "final": "direct-out"
      }
    },
    {
      "type": "connection-limiter",
      "tag": "connection-limiter",
      "strategy": "manager",
      "route": {
        "final": "bandwidth-limiter"
      }
    },
  ],
  "route": {
    "rules": [
      {
        "protocol": "dns",
        "outbound": "dns-out"
      },
      {
        "port": 53,
        "outbound": "dns-out"
      }
    ],
    "final": "connection-limiter"
  },
  "services": [
    {
      "type": "node",
      "tag": "my-node",
      "uuid": "e6eceb84-ad66-474b-8641-142499db7c6e",
      "manager": "node-manager",
      "inbounds": ["vless-in"],
      "bandwidth_limiters": ["bandwidth-limiter"],
      "connection_limiters": ["connection-limiter"],
    },
    {
      "type": "node-manager-client",
      "tag": "node-manager",
      "server": "example.com",
      "server_port": 7000,
      "tls": { // https://sing-box.sagernet.org/configuration/shared/tls/#outbound
        "enabled": true,
        "server_name": "example.com",
        "alpn": "h2" // h3 for QUIC
      },
    }
  ]
}
