Last active
December 16, 2023 06:58
-
-
Save AdastraGenshin/c166b60aa454058ff2220d47aabd7920 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"log": { | |
"access": "/var/log/v2ray/access.log", | |
"error": "/var/log/v2ray/error.log", | |
"loglevel": "warning" | |
}, | |
"api": { | |
"tag": "api", | |
"services": ["HandlerService", "StatsService"] | |
}, | |
"inbounds": [ | |
{ | |
"port": 441, | |
"protocol": "vmess", | |
"settings": { | |
"clients": [ | |
{ | |
"id": "e71570a2-9079-4525-af6b-33f2fdd82410", | |
"level": 1, | |
"alterId": 64, | |
"security": "auto" | |
} | |
], | |
"disableInsecureEncryption": true | |
}, | |
"streamSettings": { | |
"network": "tcp", | |
"security": "tls", | |
"tlsSettings": { | |
"certificates": [ | |
{ | |
"certificateFile": "/etc/v2ray/certificate.crt", | |
"keyFile": "/etc/v2ray/private.key" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"listen": "127.0.0.1", | |
"port": 62789, | |
"protocol": "dokodemo-door", | |
"settings": { | |
"address": "127.0.0.1" | |
}, | |
"tag": "api" | |
} | |
], | |
"outbounds": [ | |
{ | |
"protocol": "freedom", | |
"settings": {} | |
} | |
], | |
"routing": { | |
"rules": [ | |
{ | |
"type": "field", | |
"inboundTag": ["vmess-in"], | |
"outboundTag": "freedom" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment