From ab6194dc87b6b2460cff0a1b24e42e92d6eb33f7 Mon Sep 17 00:00:00 2001 From: lxhao61 <751142257@qq.com> Date: Fri, 14 Aug 2020 18:59:41 +0800 Subject: [PATCH] VLESS-H2C/H2-Caddy2 client.json --- VLESS+H2C+Caddy2/client.json | 68 ++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 VLESS+H2C+Caddy2/client.json diff --git a/VLESS+H2C+Caddy2/client.json b/VLESS+H2C+Caddy2/client.json new file mode 100644 index 0000000..3228554 --- /dev/null +++ b/VLESS+H2C+Caddy2/client.json @@ -0,0 +1,68 @@ +{ + "log":{}, + "inbounds":[ + { + "port":"1080", + "protocol":"socks", + "settings":{ + "auth":"noauth", + "udp":true + } + }, + { + "port":"1081", + "protocol":"http", + "settings":{} + } + ], + "outbounds":[ + { + "protocol":"vless", + "settings":{ + "vnext":[ + { + "address":"xx.com", + "port":443, + "users":[ + { + "id":"" + } + ] + } + ] + }, + "streamSettings":{ + "network":"h2", + "security":"tls", + "httpSettings":{ + "host":[ + "xx.com" + ], + "path":"/path" + } + } + }, + { + "tag":"direct", + "protocol":"freedom", + "settings":{} + }, + { + "tag":"blocked", + "protocol":"blackhole", + "settings":{} + } + ], + "routing":{ + "domainStrategy":"IPOnDemand", + "rules":[ + { + "type":"field", + "ip":[ + "geoip:private" + ], + "outboundTag":"direct" + } + ] + } +}