mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-18 22:09:29 +08:00
add vmess on kcp
This commit is contained in:
parent
7ec96b97dc
commit
9d16877b36
40
VMess-mKCPSeed/config_client.json
Normal file
40
VMess-mKCPSeed/config_client.json
Normal file
@ -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 }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
26
VMess-mKCPSeed/config_server.json
Normal file
26
VMess-mKCPSeed/config_server.json
Normal file
@ -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"}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user