mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-11-26 22:55:38 +08:00
根据v5版本现有文档添加配置
This commit is contained in:
41
V5-VMess-mKCPSeed/config_client.json
Normal file
41
V5-VMess-mKCPSeed/config_client.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"access": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"error": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"port": 10808,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"udpEnabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"port": 10809,
|
||||
"listen": "127.0.0.1",
|
||||
"protocol": "http"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"address": "{{ host }}",
|
||||
"port": "{{ port }}",
|
||||
"uuid": "your UUID"
|
||||
},
|
||||
"streamSettings": {
|
||||
"transport": "kcp",
|
||||
"transportSettings": {
|
||||
"seed": "{{ seed }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
32
V5-VMess-mKCPSeed/config_server.json
Normal file
32
V5-VMess-mKCPSeed/config_server.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"access": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"error": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"users": [
|
||||
"UUID1",
|
||||
"UUID2"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"transport": "kcp",
|
||||
"transportSettings": {
|
||||
"seed": "{{ seed }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user