v2ray-examples/websocket/config_client.json

105 lines
2.0 KiB
JSON
Raw Normal View History

2017-11-25 19:43:00 +08:00
{
2017-11-28 23:11:54 +08:00
"outbound": {
"streamSettings": {
"network": "ws",
"kcpSettings": null,
"wsSettings": {
"headers": {
"host": "example.domain"
},
"path": ""
},
"tcpSettings": null,
"tlsSettings": {},
"security": ""
},
"tag": "agentout",
"protocol": "vmess",
"mux": {
"enabled": true
},
"settings": {
"vnext": [{
"users": [{
"alterId": 100,
"security": "aes-128-gcm",
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
}],
"port": 1234,
"address": "Your_IP_Address"
}]
}
},
"log": {
"access": "",
"loglevel": "info",
"error": ""
},
"outboundDetour": [{
"tag": "direct",
"protocol": "freedom",
"settings": {
"response": null
}
},
2017-11-25 19:43:00 +08:00
{
2017-11-28 23:11:54 +08:00
"tag": "blockout",
"protocol": "blackhole",
"settings": {
"response": {
"type": "http"
}
2017-11-25 19:43:00 +08:00
}
}
2017-11-28 23:11:54 +08:00
],
"inbound": {
"streamSettings": null,
"settings": {
"ip": "127.0.0.1",
"udp": true,
"clients": null,
"auth": "noauth"
},
"protocol": "socks",
"port": 1080,
"listen": "0.0.0.0"
},
"inboundDetour": null,
"routing": {
"settings": {
"rules": [{
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"domain": null,
"type": "field",
"port": null,
"outboundTag": "direct"
}],
"domainStrategy": "IPIfNonMatch"
},
"strategy": "rules"
},
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"localhost"
]
2017-11-25 19:43:00 +08:00
}
2017-11-28 23:11:54 +08:00
}