根据v5版本现有文档添加配置

This commit is contained in:
Weltolk
2023-02-15 01:07:06 +08:00
parent 4cc09a4977
commit bf9bcd656b
30 changed files with 1341 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
"access": {
"type": "Console",
"level": "Warning"
},
"error": {
"type": "Console",
"level": "Warning"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": "10808",
"protocol": "socks",
"settings": {
"udpEnabled": true,
"address": "127.0.0.1"
}
},
{
"listen": "127.0.0.1",
"port": "10809",
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"address": "",
"port": 1234,
"uuid": "your UUID"
},
"streamSettings": {
"transport": "http",
"security": "tls"
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}

View File

@@ -0,0 +1,45 @@
{
"access": {
"type": "Console",
"level": "Warning"
},
"error": {
"type": "Console",
"level": "Warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 1234,
"protocol": "vmess",
"settings": {
"users": [
"UUID1",
"UUID2"
]
},
"streamSettings": {
"transport": "http",
"security": "tls",
"securitySettings": {
"certificate": [
{
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}