2015-09-12 18:36:21 +00:00
|
|
|
{
|
2015-10-09 15:43:27 +00:00
|
|
|
"log" : {
|
2015-12-08 11:41:20 +00:00
|
|
|
"access": "/var/log/v2ray/access.log",
|
|
|
|
"error": "/var/log/v2ray/error.log",
|
|
|
|
"loglevel": "warning"
|
2015-10-09 15:43:27 +00:00
|
|
|
},
|
2015-09-12 18:36:21 +00:00
|
|
|
"inbound": {
|
2016-06-03 22:38:22 +00:00
|
|
|
"port": 10086,
|
2015-09-12 18:36:21 +00:00
|
|
|
"protocol": "vmess",
|
2015-10-06 21:11:08 +00:00
|
|
|
"settings": {
|
|
|
|
"clients": [
|
2015-11-01 23:05:32 +00:00
|
|
|
{
|
2016-05-25 20:23:59 +00:00
|
|
|
"id": "23ad6b10-8d1a-40f7-8ad0-e3e35cd38297",
|
2016-01-27 11:47:39 +00:00
|
|
|
"level": 1,
|
2016-02-18 09:30:00 +00:00
|
|
|
"alterId": 64
|
2015-11-01 23:05:32 +00:00
|
|
|
}
|
2015-11-04 20:52:48 +00:00
|
|
|
]
|
2015-10-06 21:11:08 +00:00
|
|
|
}
|
2015-09-12 18:36:21 +00:00
|
|
|
},
|
|
|
|
"outbound": {
|
|
|
|
"protocol": "freedom",
|
2015-10-06 21:11:08 +00:00
|
|
|
"settings": {}
|
2015-11-22 20:05:16 +00:00
|
|
|
},
|
|
|
|
"outboundDetour": [
|
|
|
|
{
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"settings": {},
|
|
|
|
"tag": "blocked"
|
|
|
|
}
|
|
|
|
],
|
2015-11-22 23:19:23 +00:00
|
|
|
"routing": {
|
2015-11-22 20:05:16 +00:00
|
|
|
"strategy": "rules",
|
|
|
|
"settings": {
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
2018-07-23 12:54:05 +00:00
|
|
|
"ip": ["geoip:private"],
|
2015-11-22 20:05:16 +00:00
|
|
|
"outboundTag": "blocked"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2015-09-12 18:36:21 +00:00
|
|
|
}
|
|
|
|
}
|