From 9d16877b36d2c9661faad365d9572e2e8a0d970d Mon Sep 17 00:00:00 2001 From: kslr Date: Sun, 22 Nov 2020 01:23:40 +0800 Subject: [PATCH] add vmess on kcp --- VMess-mKCPSeed/config_client.json | 40 +++++++++++++++++++++++++++++++ VMess-mKCPSeed/config_server.json | 26 ++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 VMess-mKCPSeed/config_client.json create mode 100644 VMess-mKCPSeed/config_server.json diff --git a/VMess-mKCPSeed/config_client.json b/VMess-mKCPSeed/config_client.json new file mode 100644 index 0000000..a7ef6cd --- /dev/null +++ b/VMess-mKCPSeed/config_client.json @@ -0,0 +1,40 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 1080, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": { + "udp": true + } + } + ], + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "{{ host }}", + "port": "{{ port }}", + "users": [ + { + "id": "{{ uuid }}", + "encryption": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "kcp", + "kcpSettings": { + "seed": "{{ seed }}" + } + } + } + ] +} \ No newline at end of file diff --git a/VMess-mKCPSeed/config_server.json b/VMess-mKCPSeed/config_server.json new file mode 100644 index 0000000..5d72033 --- /dev/null +++ b/VMess-mKCPSeed/config_server.json @@ -0,0 +1,26 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "protocol": "vmess", + "port": "{{ port }}", + "settings": { + "decryption":"none", + "clients": [ + {"id": "{{ }}"} + ] + }, + "streamSettings": { + "network": "kcp", + "kcpSettings": { + "seed": "{{ seed }}" + } + } + } + ], + "outbounds": [ + {"protocol": "freedom"} + ] +}