File: //etc/v2ray/config.json
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
},
{
"listen": "0.0.0.0",
"port": 8080,
"protocol": "vmess",
"settings": {
"clients": [
{
"alterId": 64,
"id": "7e27316f-5471-402f-9426-47653c2711d7"
}
],
"disableInsecureEncryption": false
},
"sniffing": {
"destOverride": [
"http",
"tls"
],
"enabled": true
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"headers": {},
"path": "/"
}
},
"tag": "inbound-8080"
},
{
"listen": "0.0.0.0",
"port": 20947,
"protocol": "socks",
"settings": {
"auth": "noauth",
"ip": "127.0.0.1",
"udp": true
},
"sniffing": {},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "none"
}
}
},
"tag": "inbound-20947"
},
{
"listen": "0.0.0.0",
"port": 31379,
"protocol": "socks",
"settings": {
"accounts": [
{
"pass": "gZ7QiXIXxI",
"user": "98DawmLp14"
}
],
"auth": "password",
"ip": "127.0.0.1",
"udp": true
},
"sniffing": {},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "none"
}
}
},
"tag": "inbound-31379"
},
{
"listen": "0.0.0.0",
"port": 47843,
"protocol": "socks",
"settings": {
"accounts": [
{
"pass": "KQ8Riax6iW",
"user": "V1zPCD554i"
}
],
"auth": "password",
"ip": "127.0.0.1",
"udp": true
},
"sniffing": {},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "none"
}
}
},
"tag": "inbound-47843"
},
{
"listen": "0.0.0.0",
"port": 47141,
"protocol": "http",
"settings": {
"accounts": [
{
"pass": "iphaiwai",
"user": "iphaiwai"
}
],
"auth": "password",
"ip": "127.0.0.1",
"udp": true
},
"sniffing": {},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"header": {
"type": "none"
}
}
},
"tag": "inbound-47141"
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}