mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1005 B
58 lines
1005 B
9 years ago
|
{
|
||
|
"port": 50020,
|
||
|
"inbound": {
|
||
|
"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,
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|