Skip to main content

V2Ray API

info

默认安装不包含 V2Ray API。

结构​

{
"listen": "127.0.0.1:8080",
"stats": {
"enabled": true,
"inbounds": [
"socks-in"
],
"outbounds": [
"proxy",
"direct"
],
"users": [
"sekai"
]
}
}

字段​

listen​

gRPC API 监听地址。如果为空,则禁用 V2Ray API。

stats​

流量统计服务设置。

stats.enabled​

启用统计服务。

stats.inbounds​

统计流量的入站列表。

stats.outbounds​

统计流量的出站列表。

stats.users​

统计流量的用户列表。