v2ray-examples/VMess-TCP-TLS/config_client.json

63 lines
1.4 KiB
JSON
Raw Normal View History

2018-02-01 22:12:04 +08:00
{
2018-02-01 22:15:53 +08:00
"log": {
2020-08-01 21:33:33 +08:00
"loglevel": "warning"
2018-02-01 22:15:53 +08:00
},
2020-08-01 21:33:33 +08:00
"routing": {
2020-08-29 13:35:06 +08:00
"domainStrategy": "AsIs",
2020-08-01 21:33:33 +08:00
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
2020-11-22 05:37:44 +08:00
"outboundTag": "direct"
2020-08-01 21:33:33 +08:00
}
]
2018-02-01 22:15:53 +08:00
},
2020-08-01 21:33:33 +08:00
"inbounds": [
2018-02-01 22:15:53 +08:00
{
2020-08-01 21:35:19 +08:00
"listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
2020-08-01 23:02:34 +08:00
"udp": true,
2020-08-01 21:35:19 +08:00
"ip": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": "1081",
"protocol": "http"
}
],
"outbounds": [
{
2020-08-01 21:33:33 +08:00
"protocol": "vmess",
"settings": {
2020-08-01 21:35:19 +08:00
"vnext": [
2020-08-01 21:33:33 +08:00
{
2020-08-01 21:35:19 +08:00
"address": "",
"port": 1234,
2020-11-22 01:21:44 +08:00
"users": [
2020-08-01 21:35:19 +08:00
{
"id": "",
"security": "none"
}
]
2020-08-01 21:33:33 +08:00
}
2020-08-01 21:35:19 +08:00
]
2020-08-01 21:33:33 +08:00
},
"streamSettings": {
"network": "tcp",
2020-11-22 01:21:44 +08:00
"security": "tls"
2020-08-01 21:35:19 +08:00
},
"tag": "proxy"
},
2020-08-01 21:33:33 +08:00
{
"protocol": "freedom",
"tag": "direct"
}
]
}