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