From 2a7c51e91cf9a8e84a3b72524bd194fd744affa4 Mon Sep 17 00:00:00 2001 From: EpLiar Date: Fri, 31 Jul 2020 09:13:02 +0800 Subject: [PATCH] =?UTF-8?q?Create=20'mkcp=20=E5=8A=A8=E6=80=81=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3/config=5Fserver.json'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkcp 动态端口/config_server.json | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 mkcp 动态端口/config_server.json diff --git a/mkcp 动态端口/config_server.json b/mkcp 动态端口/config_server.json new file mode 100644 index 0000000..90e4994 --- /dev/null +++ b/mkcp 动态端口/config_server.json @@ -0,0 +1,78 @@ +{ + "log": { + "loglevel": "warning" + }, + "dns": { + "servers": [ + "8.8.8.8", + "8.8.4.4", + "localhost" + ] + }, + "routing": { + "domainStrategy": "IPIfNonMatch", + "rules": [ + { + "ip": [ + "geoip:private" + ], + "outboundTag": "direct", + "port": null, + "type": "field" + } + ] + }, + "policy": {}, + "inbounds": [ + { + "port": 1234, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "e2b39869-7e9e-411b-a561-00904419bed9", + "alterId": 100, + "testsEnabled": "VMessAEAD" + } + ] + }, + "tag": "kcp-in", + "streamSettings": { + "network": "kcp", + "tcpSettings": {} + }, + "detour": { + "to": "Dynamic" + } + }, + { + "protocol": "vmess", + "port": "10000-59999", + "tag": "Dynamic", + "settings": { + "default": { + "alterId": 100 + } + }, + "allocate": { + "strategy": "random", + "concurrency": 50, + "refresh": 2 + }, + "streamSettings": { + "network": "kcp" + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "settings": { + }, + "tag": "direct" + } + ], + "transport": {}, + "stats": {}, + "reverse": {} +} \ No newline at end of file