v2ray-examples/TCP/config_client.json
2020-07-30 22:51:21 +08:00

99 lines
1.8 KiB
JSON
Executable File

{
"log": {
"loglevel": "warning"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "direct",
"port": null,
"type": "field"
}
]
},
"policy": {},
"inbounds": [
{
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
},
"tag": "socks"
}
],
"outbounds": [
{
"sendThrough": "0.0.0.0",
"protocol": "vmess",
"settings": {
"vnext": [
{
"users": [
{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9",
"testsEnabled": "VMessAEAD"
}
],
"port": 1234,
"address": "Your_IP_Address"
}
]
},
"tag": "proxy",
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"request": {
"headers": {
},
"method": "GET",
"path": [
],
"version": "1.1"
},
"response": {
"headers": {
},
"reason": "OK",
"status": "200",
"version": "1.1"
},
"type": "none"
}
},
"tlsSettings": {},
"security": "auto"
},
"proxySettings": {
"tag": "proxy"
},
"mux": {}
},
{
"protocol": "freedom",
"settings": {
},
"tag": "direct"
}
],
"transport": {},
"stats": {},
"reverse": {}
}