Skip to content

Instantly share code, notes, and snippets.

@EkkoG
Created February 3, 2016 02:37
Show Gist options
  • Save EkkoG/1736b2513e7cba5743ba to your computer and use it in GitHub Desktop.
Save EkkoG/1736b2513e7cba5743ba to your computer and use it in GitHub Desktop.
inboundDetour
{
"protocol": "vmess",
"port": "10000-20000", // 端口范围
"tag": "detour", // 此传入协议的标签,在第二部分中会用到
"settings": {
"clients": [ // clients 部分和原有的配置的一样
{
"id": "33d41456-039b-4496-beae-37b26eba22a0",
"alterId": 100,
"level": 1
}
]
},
"allocate": { // 分配模式
"strategy": "random", // 随机开启
"concurrency": 2, // 同时开放两个端口
"refresh": 5 // 每五分钟刷新一次
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment