|
|
@ -8,59 +8,60 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"log": {
|
|
|
|
"log": {
|
|
|
|
"access": "/var/log/v2ray/access.log",
|
|
|
|
"access": "/var/log/v2ray/access.log",
|
|
|
|
"loglevel": "info",
|
|
|
|
"loglevel": "error",
|
|
|
|
"error": "/var/log/v2ray/error.log"
|
|
|
|
"error": "/var/log/v2ray/error.log"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"outboundDetour": [{
|
|
|
|
"inboundDetour": null,
|
|
|
|
"tag": "blocked",
|
|
|
|
|
|
|
|
"protocol": "blackhole",
|
|
|
|
|
|
|
|
"settings": null
|
|
|
|
|
|
|
|
}],
|
|
|
|
|
|
|
|
"inbound": {
|
|
|
|
"inbound": {
|
|
|
|
"streamSettings": {
|
|
|
|
"streamSettings": {
|
|
|
|
"network": "kcp",
|
|
|
|
"network": "ws",
|
|
|
|
"kcpSettings": {
|
|
|
|
"kcpSettings": null,
|
|
|
|
"uplinkCapacity": 100,
|
|
|
|
"wsSettings": {
|
|
|
|
"downlinkCapacity": 100,
|
|
|
|
"headers": {
|
|
|
|
"readBufferSize": 2,
|
|
|
|
"host": "example.domain"
|
|
|
|
"mtu": 1350,
|
|
|
|
|
|
|
|
"header": {
|
|
|
|
|
|
|
|
"type": "srtp",
|
|
|
|
|
|
|
|
"request": null,
|
|
|
|
|
|
|
|
"response": null
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"tti": 50,
|
|
|
|
"path": "",
|
|
|
|
"congestion": false,
|
|
|
|
"connectionReuse": true
|
|
|
|
"writeBufferSize": 2
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"wsSettings": null,
|
|
|
|
|
|
|
|
"tcpSettings": null,
|
|
|
|
"tcpSettings": null,
|
|
|
|
"tlsSettings": {
|
|
|
|
"tlsSettings": {
|
|
|
|
"certificates": [{
|
|
|
|
"certificates": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"keyFile": "/path/to/example.domain.key",
|
|
|
|
"keyFile": "/path/to/example.domain.key",
|
|
|
|
"certificateFile": "/path/to/example.domain/fullchain.cer"
|
|
|
|
"certificateFile": "/path/to/example.domain/fullchain.cer"
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"security": "tls"
|
|
|
|
"security": "tls"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"listen": null,
|
|
|
|
|
|
|
|
"protocol": "vmess",
|
|
|
|
|
|
|
|
"port": 443,
|
|
|
|
"settings": {
|
|
|
|
"settings": {
|
|
|
|
"ip": null,
|
|
|
|
"ip": null,
|
|
|
|
"udp": true,
|
|
|
|
"udp": true,
|
|
|
|
"clients": [{
|
|
|
|
"clients": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"alterId": 100,
|
|
|
|
"alterId": 100,
|
|
|
|
"security": "aes-128-gcm",
|
|
|
|
"security": "aes-128-gcm",
|
|
|
|
"id": "e2b39869-7e9e-411b-a561-00904419bed9"
|
|
|
|
"id": "0cdf8a45-303d-4fed-9780-29aa7f54175e"
|
|
|
|
}],
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
"auth": null
|
|
|
|
"auth": null
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"protocol": "vmess",
|
|
|
|
"outboundDetour": [
|
|
|
|
"port": 443,
|
|
|
|
{
|
|
|
|
"listen": null
|
|
|
|
"tag": "blocked",
|
|
|
|
},
|
|
|
|
"protocol": "blackhole",
|
|
|
|
"inboundDetour": null,
|
|
|
|
"settings": null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
"routing": {
|
|
|
|
"routing": {
|
|
|
|
|
|
|
|
"strategy": "rules",
|
|
|
|
"settings": {
|
|
|
|
"settings": {
|
|
|
|
"rules": [{
|
|
|
|
"rules": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"ip": [
|
|
|
|
"ip": [
|
|
|
|
"0.0.0.0/8",
|
|
|
|
"0.0.0.0/8",
|
|
|
|
"10.0.0.0/8",
|
|
|
|
"10.0.0.0/8",
|
|
|
@ -82,10 +83,10 @@
|
|
|
|
"type": "field",
|
|
|
|
"type": "field",
|
|
|
|
"port": null,
|
|
|
|
"port": null,
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
"outboundTag": "blocked"
|
|
|
|
}],
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
"domainStrategy": null
|
|
|
|
"domainStrategy": null
|
|
|
|
},
|
|
|
|
}
|
|
|
|
"strategy": "rules"
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"dns": null
|
|
|
|
"dns": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|