2015-12-04 11:32:42 -05:00
|
|
|
{
|
|
|
|
"port": 50020,
|
2015-12-05 17:47:23 -05:00
|
|
|
"log": {
|
2016-05-29 10:37:52 -04:00
|
|
|
"loglevel": "none"
|
2015-12-05 17:47:23 -05:00
|
|
|
},
|
2015-12-04 11:32:42 -05:00
|
|
|
"inbound": {
|
2016-06-03 18:38:22 -04:00
|
|
|
"listen": "127.0.0.1",
|
2015-12-04 11:32:42 -05:00
|
|
|
"protocol": "dokodemo-door",
|
|
|
|
"settings": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port": 50024,
|
|
|
|
"network": "tcp",
|
|
|
|
"timeout": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"outbound": {
|
|
|
|
"protocol": "vmess",
|
|
|
|
"settings": {
|
|
|
|
"vnext": [
|
|
|
|
{
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port": 50021,
|
|
|
|
"users": [
|
|
|
|
{"id": "d17a1af7-efa5-42ca-b7e9-6a35282d737f"}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inboundDetour": [
|
|
|
|
{
|
|
|
|
"protocol": "dokodemo-door",
|
|
|
|
"port": 50022,
|
2016-05-29 10:37:52 -04:00
|
|
|
"listen": "127.0.0.1",
|
2015-12-04 11:32:42 -05:00
|
|
|
"settings": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port": 50025,
|
|
|
|
"network": "tcp",
|
|
|
|
"timeout": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"outboundDetour": [
|
|
|
|
{
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"tag": "blocked",
|
|
|
|
"settings": {}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"routing": {
|
|
|
|
"strategy": "rules",
|
|
|
|
"settings": {
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"type": "field",
|
|
|
|
"port": "50025-50029",
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|