v2ray-container: added server scripts to start openvpn with v2ray.

* fixed client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json
This commit is contained in:
Alexander Gertovskiy 2023-02-09 23:14:11 +02:00
parent 634ca6cbe8
commit 7df3600a62

View file

@ -1,10 +1,11 @@
{
"inbounds": [{
"port": "$V2RAY_SOCKS_LOCAL_PORT",
"port": $V2RAY_SOCKS_LOCAL_PORT,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
"auth": "noauth",
"udp": false
}
}],
"outbounds": [{
@ -12,7 +13,7 @@
"settings": {
"vnext": [{
"address": "$REMOTE_HOST",
"port": "$V2RAY_VMESS_PORT",
"port": $V2RAY_VMESS_PORT,
"users": [{ "id": "$V2RAY_VMESS_CLIENT_UUID" }]
}]
}