科学 multi port

时间:2019-09-09
本文章向大家介绍科学 multi port,主要包括科学 multi port使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

issues/679

create new UUID

cat /proc/sys/kernel/random/uuid

example config : multi port , multi user

{
  "inbounds": [{
    "port": 1234,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "UUID",
          "level": 1,
          "alterId": 64
        },
        {
          "id": "UUID",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  },
 {
    "port": 1235,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "UUID",
          "level": 1,
          "alterId": 64
        },
        {
          "id": "UUID",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  }],
  "outbounds": [{
    "protocol": "freedom",
    "settings": {}
  },{
    "protocol": "blackhole",
    "settings": {},
    "tag": "blocked"
  }],
  "routing": {
    "rules": [
      {
        "type": "field",
        "ip": ["geoip:private"],
        "outboundTag": "blocked"
      }
    ]
  }
}

原文地址:https://www.cnblogs.com/ramlife/p/11491286.html