{
  "log": {
    "loglevel": "warning",
    "access": "./access.log",
    "error": "./error.log"
  },
  "api": {
    "services": [
      "HandlerService",
      "LoggerService",
      "StatsService"
    ],
    "tag": "api"
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "port": 62789,
      "protocol": "dokodemo-door",
      "settings": {
        "address": "127.0.0.1"
      },
      "tag": "api"
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "2a01:4ff:f0:1015::1",
            "port": 8080,
            "users": [
              {
                "id": "abaa28c4-1add-428c-e8ce-bc75bca1b50a",
                "alterId": 0,
                "email": "t@t.tt",
                "security": "chacha20-poly1305"
              }
            ]
          },
          {
            "address": "2a01:4f9:c010:149d::1",
            "port": 8080,
            "users": [
              {
                "id": "abaa28c4-1add-428c-e8ce-bc75bca1b50a",
                "alterId": 0,
                "email": "t@t.tt",
                "security": "auto"
              }
            ]
          },
          {
            "address": "2a01:4f9:c010:4edc::1",
            "port": 8080,
            "users": [
              {
                "id": "abaa28c4-1add-428c-e8ce-bc75bca1b50a",
                "alterId": 0,
                "email": "t@t.tt",
                "security": "auto"
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
          "path": "/"
        }
      },
      "mux": {
        "enabled": false,
        "concurrency": -1
      }
    },
    {
      "protocol": "freedom",
      "settings": {}
    },
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "policy": {
    "system": {
      "statsInboundDownlink": true,
      "statsInboundUplink": true
    }
  },
  "routing": {
    "rules": [
      {
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "type": "field"
      },
      {
        "ip": [
          "geoip:private"
        ],
        "outboundTag": "blocked",
        "type": "field"
      },
      {
        "outboundTag": "blocked",
        "protocol": [
          "bittorrent"
        ],
        "type": "field"
      }
    ]
  },
  "dns": {
    "servers": [
      "8.8.8.8",
      "8.8.4.4"
    ]
  },
  "stats": {}
}