Add VLESS-TCP-TLS-gRPC

This commit is contained in:
狂男风 2021-06-25 00:50:56 +08:00 committed by GitHub
parent bc2354904b
commit 7ec14273af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,81 @@
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"decryption": "none",
"fallbacks": [
{
"dest": "web_server:port" //
},
{
"alpn": "h2",
"path": "/path/to/gRPC", // gRPC
"dest": 1234
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "/path/to/fullchain.crt", //
"keyFile": "/path/to/private.key" //
}
]
}
}
},
{
"port": 1234,
"listen": "127.0.0.1",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "//用户 UUID",
"level": 0,
"email": "//用户名"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "gun",
"security": "none"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
}
}