v2ray-examples/VMess-HTTP/config_client.json

92 lines
2.8 KiB
JSON
Raw Normal View History

2017-11-25 19:43:00 +08:00
{
2020-08-01 21:41:25 +08:00
"log": {
"loglevel": "warning"
2017-11-28 23:11:54 +08:00
},
2020-08-01 21:41:25 +08:00
"routing": {
2020-08-29 13:35:06 +08:00
"domainStrategy": "AsIs",
2020-08-01 21:41:25 +08:00
"rules": [
2018-04-16 17:07:21 +08:00
{
2020-08-01 21:41:25 +08:00
"type": "field",
"ip": [
"geoip:private"
],
2020-11-22 05:37:44 +08:00
"outboundTag": "direct"
2018-04-16 17:07:21 +08:00
}
2020-08-01 21:41:25 +08:00
]
2017-11-28 23:11:54 +08:00
},
2020-08-01 21:41:25 +08:00
"inbounds": [
{
"listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
2020-08-01 23:06:33 +08:00
"udp": true,
2020-08-01 21:41:25 +08:00
"ip": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
2017-11-28 23:11:54 +08:00
}
2020-08-01 21:41:25 +08:00
],
"outbounds": [
2018-04-16 17:07:21 +08:00
{
2020-08-01 21:41:25 +08:00
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "",
"port": 1234,
2020-11-22 01:21:44 +08:00
"users": [
2020-08-01 21:41:25 +08:00
{
2020-11-22 01:21:44 +08:00
"id": ""
2020-08-01 21:41:25 +08:00
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "http",
"request": {
"version": "1.1",
"method": "GET",
"path": [
"/"
],
"headers": {
"Host": [
"www.bing.com",
"www.cloudflare.com",
"www.amazon.com"
],
"User-Agent": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 Edg/84.0.522.49",
"Mozilla/5.0 (iPhone; CPU iPhone OS 13_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/84.0.4147.71 Mobile/15E148 Safari/604.1"
],
"Accept-Encoding": [
"gzip, deflate"
],
"Connection": [
"keep-alive"
],
"Pragma": "no-cache"
}
}
}
},
"security": "none"
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
2018-04-16 17:07:21 +08:00
}
2017-11-28 23:11:54 +08:00
]
2020-08-01 21:41:25 +08:00
}