{
  "inbounds": [
    {
      "port": 8080,
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "a043084e-694e-4208-bb6f-dbc17a6b8261",
            "level": 1,
            "alterId": 64
          }
        ]
      }
      "streamSettings": {
      	"network": "tcp"
      }
    },
    {
      "tag": "tg-in",
      "listen": "0.0.0.0",
      "port": 8880,
      "protocol": "mtproto",
      "settings": {
        "users": [
          {
            "secret": "a96da762e34e646d3dce7d8577043c26"
          }
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    },
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    },
    {
      "tag": "tg-out",
      "protocol": "mtproto",
      "settings": {}
    }
  ],
  "routing": {
    "rules": [
      {
        "type": "field",
        "ip": [
          "geoip:private"
        ],
        "outboundTag": "blocked"
      },
      {
        "type": "field",
        "inboundTag": [
          "tg-in"
        ],
        "outboundTag": "tg-out"
      }
    ]
  }
}