{
  "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"
      },
      "users": [
        {
          "name": "user1",
          "uuid": "9b65b7e1-04c8-4717-8f45-2aa61fd25937"
        },
        {
          "name": "user2",
          "uuid": "9b65b7e1-04c8-4717-8f45-2aa61fd25937"
        }
      ],
    }
  ],
  "outbounds": [
    {
      "type": "direct",
      "tag": "direct"
    },
    {
      "type": "connection-limiter",
      "tag": "connection-limiter",
      "strategy": "connection",
      "connection_type": "hwid", // mux, ip
      "count": 5,
      "route": { // https://sing-box.sagernet.org/configuration/route/#structure
        "rules": [],
        "final": "direct"
      }
    }
  ],
  "route": {
    "final": "connection-limiter",
    "default_domain_resolver": "default",
    "auto_detect_interface": true
  }
}
