{ "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "warning" }, "inbounds": [ { "port": 2333, "protocol": "vmess", "settings": { "clients": [ { "id": "e55c8d17-2cf3-b21a-bcf1-eeacb011ed79", "level": 1, "alterId": 233 } ], "detour": { "to": "dynamic" } }, "streamSettings": { "network": "tcp" }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } }, { "protocol": "vmess", "port": "10000-20000", "tag": "dynamic", "settings": { "default": { "level": 1, "alterId": 32 } }, "allocate": { "strategy": "random", "concurrency": 2, "refresh": 5 } } //include_ss //include_socks //include_mtproto //include_in_config // ], "outbounds": [ { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } //include_out_config // ], "dns": { "servers": [ "https+local://dns.google/dns-query", "8.8.8.8", "1.1.1.1", "localhost" ] }, "routing": { "domainStrategy": "IPOnDemand", "rules": [ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "blocked" } //include_ban_xx //include_ban_bt //include_ban_ad //include_rules // ] }, "transport": { "kcpSettings": { "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true } } }