简单搭建Vmess使用


安装脚本

 

 

查看id

cat /proc/sys/kernel/random/uuid

 

编辑配置文件

 

 

主要编辑端口、id

{
  "inbounds": [{
    "port": 2088,
    "protocol": "vmess",
    "settings": {
      "clients": [
        {
          "id": "9ec43ee9-651d-435d-ac8f-c06dtfc79b01",
          "level": 1,
          "alterId": 64
        }
      ]
    }
  }],
  "outbounds": [{
    "protocol": "freedom",
    "settings": {}
  },{
    "protocol": "blackhole",
    "settings": {},
    "tag": "blocked"
  }],
  "routing": {
    "rules": [
      {
        "type": "field",
        "ip": ["geoip:private"],
        "outboundTag": "blocked"
      }
    ]
  }
}

 

开启服务及简单命令 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM