mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
44 lines
760 B
JSON
44 lines
760 B
JSON
{
|
|
"log" : {
|
|
"access": "/var/log/v2ray/access.log",
|
|
"error": "/var/log/v2ray/error.log",
|
|
"loglevel": "warning"
|
|
},
|
|
"inbound": {
|
|
"port": 10086,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "23ad6b10-8d1a-40f7-8ad0-e3e35cd38297",
|
|
"level": 1,
|
|
"alterId": 64
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outbound": {
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
"outboundDetour": [
|
|
{
|
|
"protocol": "blackhole",
|
|
"settings": {},
|
|
"tag": "blocked"
|
|
}
|
|
],
|
|
"routing": {
|
|
"strategy": "rules",
|
|
"settings": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"ip": ["geoip:private"],
|
|
"outboundTag": "blocked"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|