2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

add v2ray

This commit is contained in:
kev
2024-05-07 16:51:12 +08:00
parent b844edd300
commit 916f30b393
5 changed files with 76 additions and 41 deletions

View File

@@ -1,24 +1,39 @@
{
"log" : {
"access": "/dev/stdout",
"error": "/dev/stderr",
"loglevel": "warning"
},
"inbound": {
"port": 8001,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "11111111-2222-3333-4444-555555555555",
"level": 1,
"alterId": 32
}
]
"inbounds": [
{
"port": 10086,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "23ad6b10-8d1a-40f7-8ad0-e3e35cd38297",
"level": 1,
"alterId": 64
}
]
}
}
},
"outbound": {
"protocol": "freedom",
"settings": {}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
}
]
}
}