mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-18 22:09:29 +08:00
Update config_client.json
This commit is contained in:
parent
e7305b78dd
commit
cc0ab32f8c
@ -29,6 +29,8 @@
|
|||||||
"users": [
|
"users": [
|
||||||
{
|
{
|
||||||
"id": "97c0ec9c-dc4e-11e7-9296-cec278b6b50a",
|
"id": "97c0ec9c-dc4e-11e7-9296-cec278b6b50a",
|
||||||
|
//"level"字段与"policy"字段中的"levels"字段中的对应,默认值:0,注:需要core≥3.1
|
||||||
|
"level": 0,
|
||||||
"alterId": 0,
|
"alterId": 0,
|
||||||
"security": "aes-128-cfb"
|
"security": "aes-128-cfb"
|
||||||
}
|
}
|
||||||
@ -73,6 +75,17 @@
|
|||||||
"timeout": 300
|
"timeout": 300
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 注"policy"字段需要core≥3.1
|
||||||
|
"policy": {
|
||||||
|
"levels": {
|
||||||
|
"0": {
|
||||||
|
"uplinkOnly": 0,
|
||||||
|
"downlinkOnly": 0,
|
||||||
|
"connIdle": 150,
|
||||||
|
"handshake": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [
|
"rules": [
|
||||||
@ -129,4 +142,4 @@
|
|||||||
},
|
},
|
||||||
"strategy": "rules"
|
"strategy": "rules"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user