mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-11-26 22:55:38 +08:00
根据v5版本现有文档添加配置
This commit is contained in:
45
V5-VLESS-gRPC-TLS/config_client.json
Normal file
45
V5-VLESS-gRPC-TLS/config_client.json
Normal 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"
|
||||
},
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"port": "10809",
|
||||
"protocol": "http"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"address": "your_server_ip",
|
||||
"port": 443,
|
||||
"uuid": "your UUID"
|
||||
},
|
||||
"streamSettings": {
|
||||
"transport": "gun",
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"serverName": "your_domain",
|
||||
"nextProtocol": [
|
||||
"h2"
|
||||
]
|
||||
},
|
||||
"transportSettings": {
|
||||
"serviceName": "GunService"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
48
V5-VLESS-gRPC-TLS/config_server.json
Normal file
48
V5-VLESS-gRPC-TLS/config_server.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"access": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"error": {
|
||||
"type": "Console",
|
||||
"level": "Warning"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"listen": "0.0.0.0",
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"users ": [
|
||||
"UUID1",
|
||||
"UUID2"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"transport": "gun",
|
||||
"security": "tls",
|
||||
"securitySettings": {
|
||||
"serverName": "your_domain",
|
||||
"nextProtocol": [
|
||||
"h2"
|
||||
],
|
||||
"certificate": [
|
||||
{
|
||||
"certificateFile": "/path/to/fullchain.crt",
|
||||
"keyFile": "/path/to/private.key"
|
||||
}
|
||||
]
|
||||
},
|
||||
"transportSettings": {
|
||||
"serviceName": "GunService"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"protocol": "freedom",
|
||||
"tag": "direct"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user