UNPKG

v2ray-tools

Version:

v2ray tools, convert vmess url into v2ray config, vmess url test

172 lines 3.7 kB
{ "policy": { "system": { "statsInboundUplink": true, "statsInboundDownlink": true } }, "log": { "access": "", "error": "", "loglevel": "debug" }, "inbounds": [ { "tag": "proxy", "port": 10800, "listen": "0.0.0.0", "protocol": "socks", "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] }, "settings": { "auth": "noauth", "udp": true, "ip": null, "address": null, "clients": null }, "streamSettings": null } ], "outbounds": [ { "tag": "proxy", "protocol": "vmess", "settings": { "vnext": [ { "users": [ { "email": "t@t.tt", "security": "auto" } ] } ], "servers": null, "response": null }, "streamSettings": { "network": "tcp", "security": null, "tlsSettings": { "allowInsecure": true }, "kcpSettings": { "mtu": 1350, "tti": 50, "uplinkCapacity": 12, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "wechat-video" } }, "wsSettings": { "connectionReuse": true, "path": "/path", "headers": { "Host": "host.host.host" } }, "httpSettings": { "host": [ "host.com" ], "path": "/host" }, "quicSettings": { "security": "none", "key": "", "header": { "type": "none" } }, "tcpSettings": { "connectionReuse": true, "header": { "type": "http", "request": { "version": "1.1", "method": "GET", "path": [ "/" ], "headers": { "Host": [ "" ], "User-Agent": [ "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" ], "Accept-Encoding": [ "gzip, deflate" ], "Connection": [ "keep-alive" ], "Pragma": "no-cache" } } } } }, "mux": { "enabled": false } }, { "tag": "direct", "protocol": "freedom", "settings": { "vnext": null, "servers": null, "response": null }, "streamSettings": null, "mux": null }, { "tag": "block", "protocol": "blackhole", "settings": { "vnext": null, "servers": null, "response": { "type": "http" } }, "streamSettings": null, "mux": null } ], "stats": {}, "api": { "tag": "api", "services": [ "StatsService" ] }, "dns": null, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "port": null, "inboundTag": "api", "outboundTag": "api", "ip": null, "domain": null } ] } }