v2ray-examples/TCP/config_server.json

52 lines
844 B
JSON
Raw Normal View History

2017-11-25 19:43:00 +08:00
{
2017-11-28 23:11:54 +08:00
"log": {
2020-07-30 22:52:09 +08:00
"loglevel": "warning"
2017-11-28 23:11:54 +08:00
},
2020-07-30 22:52:09 +08:00
"routing": {
2020-07-31 16:06:21 +08:00
"domainStrategy": "AsIs",
2020-07-30 22:52:09 +08:00
"rules": [
{
"ip": [
"geoip:private"
],
2020-07-31 16:06:21 +08:00
"outboundTag": "blocked",
2020-07-30 22:52:09 +08:00
"port": null,
"type": "field"
}
]
2017-11-28 23:11:54 +08:00
},
2020-07-30 22:52:09 +08:00
"inbounds": [
2018-04-16 17:07:21 +08:00
{
2020-07-30 22:52:09 +08:00
"port": 1234,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "e2b39869-7e9e-411b-a561-00904419bed9",
"alterId": 100,
"testsEnabled": "VMessAEAD"
}
]
},
"tag": "tcp",
"streamSettings": {
2020-07-31 16:06:21 +08:00
"network": "tcp"
2020-07-30 22:52:09 +08:00
}
2018-04-16 17:07:21 +08:00
}
],
2020-07-30 22:52:09 +08:00
"outbounds": [
{
"protocol": "freedom",
"settings": {
},
"tag": "direct"
2020-07-31 16:06:21 +08:00
},
{
"protocol": "blackhole",
"settings": {
},
"tag": "blocked"
2017-11-25 19:43:00 +08:00
}
2020-07-31 16:06:21 +08:00
]
}