Update TCP/config_client.json

This commit is contained in:
EpLiar 2020-07-31 16:05:31 +08:00
parent e6965e14a2
commit 0e4ea9159c
No known key found for this signature in database
GPG Key ID: 170E1DA332EEF73E

View File

@ -2,19 +2,11 @@
"log": { "log": {
"loglevel": "warning" "loglevel": "warning"
}, },
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": { "routing": {
"domainStrategy": "IPIfNonMatch", "domainStrategy": "AsIs",
"rules": [ "rules": [
{ {
"ip": [ "ip": [
"geoip:cn",
"geoip:private" "geoip:private"
], ],
"outboundTag": "direct", "outboundTag": "direct",
@ -23,77 +15,31 @@
} }
] ]
}, },
"policy": {},
"inbounds": [ "inbounds": [
{ {
"port": "1080", "port": 1234,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
},
"tag": "socks"
}
],
"outbounds": [
{
"sendThrough": "0.0.0.0",
"protocol": "vmess", "protocol": "vmess",
"settings": { "settings": {
"vnext": [ "clients": [
{ {
"users": [
{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9", "id": "e2b39869-7e9e-411b-a561-00904419bed9",
"alterId": 100,
"testsEnabled": "VMessAEAD" "testsEnabled": "VMessAEAD"
} }
],
"port": 1234,
"address": "Your_IP_Address"
}
] ]
}, },
"tag": "proxy", "tag": "tcp",
"streamSettings": { "streamSettings": {
"network": "tcp", "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" "outbounds": [
},
"proxySettings": {
"tag": "proxy"
},
"mux": {}
},
{ {
"protocol": "freedom", "protocol": "freedom",
"settings": { "settings": {
}, },
"tag": "direct" "tag": "direct"
} }
], ]
"transport": {},
"stats": {},
"reverse": {}
} }