diff --git a/VMess-HTTP2/config_client.json b/VMess-HTTP2/config_client.json index e4e7ed5..3b060c1 100644 --- a/VMess-HTTP2/config_client.json +++ b/VMess-HTTP2/config_client.json @@ -1,111 +1,73 @@ { - "outbound": { - "streamSettings": { - "network": "h2", - "kcpSettings": null, - "httpSettings": { - "host": [ - "example.domain" - ], - "path": "/test" - }, - "tcpSettings": null, - "tlsSettings": {}, - "security": "tls" - }, - "tag": "agentout", - "protocol": "vmess", - "mux": { - "enabled": true - }, - "settings": { - "vnext": [ - { - "users": [ - { - "alterId": 100, - "security": "aes-128-gcm", - "id": "0cdf8a45-303d-4fed-9780-29aa7f54175e" - } - ], - "port": 443, - "address": "example.domain" - } - ] - } - }, "log": { - "access": "", - "loglevel": "info", - "error": "" + "loglevel": "warning" }, - "outboundDetour": [ + "routing": { + "domainStratedy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "tag": "direct" + } + ] + }, + "inbounds": [ { - "tag": "direct", - "protocol": "freedom", + "listen": "127.0.0.1", + "port": "1080", + "protocol": "socks", "settings": { - "response": null + "auth": "noauth", + "udp": "true", + "ip": "127.0.0.1" } }, { - "tag": "blockout", - "protocol": "blackhole", - "settings": { - "response": { - "type": "http" - } - } + "listen": "127.0.0.1", + "port": "1081", + "protocol": "http" } ], - "inbound": { - "streamSettings": null, - "settings": { - "ip": "127.0.0.1", - "udp": true, - "clients": null, - "auth": "noauth" - }, - "protocol": "socks", - "port": 1080, - "listen": "0.0.0.0" - }, - "inboundDetour": null, - "routing": { - "settings": { - "rules": [ - { - "ip": [ - "0.0.0.0/8", - "10.0.0.0/8", - "100.64.0.0/10", - "127.0.0.0/8", - "169.254.0.0/16", - "172.16.0.0/12", - "192.0.0.0/24", - "192.0.2.0/24", - "192.168.0.0/16", - "198.18.0.0/15", - "198.51.100.0/24", - "203.0.113.0/24", - "::1/128", - "fc00::/7", - "fe80::/10" + "outbounds": [ + { + "protocol": "vmess", + "settings": { + "vnext": [ + { + "address": "", + "port": 1234, + "user": [ + { + "id": "", + "alterId": 4, + "security": "none" + } + ] + } + ] + }, + "streamSettings": { + "network": "http", + "httpSettings": { + "host": [ + "example.domain" ], - "domain": null, - "type": "field", - "port": null, - "outboundTag": "direct" + "path": "" + }, + "security": "tls", + "tlsSettings": { + "serverName": "example.domain", + "allowInsecure": false } - ], - "domainStrategy": "IPIfNonMatch" + }, + "tag": "proxy" }, - "strategy": "rules" - }, - "dns": { - "servers": [ - "8.8.8.8", - "8.8.4.4", - "localhost" - ] - } -} \ No newline at end of file + { + "protocol": "freedom", + "tag": "direct" + } + ] +}