v2ray-examples/VMess-TCP/config_server.json

45 lines
894 B
JSON
Raw Normal View History

2017-11-25 19:43:00 +08:00
{
2020-07-31 20:58:37 +08:00
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
2020-08-01 21:32:21 +08:00
"type": "field",
2020-07-31 20:58:37 +08:00
"ip": [
"geoip:private"
],
2020-08-01 21:32:21 +08:00
"outboundTag": "block"
2020-07-31 20:58:37 +08:00
}
2020-07-30 22:52:09 +08:00
]
2020-07-31 16:06:21 +08:00
},
2020-07-31 20:58:37 +08:00
"inbounds": [
{
2020-08-01 21:32:21 +08:00
"listen": "0.0.0.0",
2020-07-31 20:58:37 +08:00
"port": 1234,
"protocol": "vmess",
"settings": {
"clients": [
{
2020-11-22 01:21:44 +08:00
"id": ""
2020-07-31 20:58:37 +08:00
}
2020-11-22 01:21:44 +08:00
]
2020-07-31 20:58:37 +08:00
},
"streamSettings": {
"network": "tcp"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
2020-08-01 21:32:21 +08:00
"tag": "block"
2020-07-31 20:58:37 +08:00
}
]
2020-07-31 16:06:21 +08:00
}