From 7df3600a62e4bccb6453c12620a6e1306dff4722 Mon Sep 17 00:00:00 2001 From: Alexander Gertovskiy Date: Thu, 9 Feb 2023 23:14:11 +0200 Subject: [PATCH] v2ray-container: added server scripts to start openvpn with v2ray. * fixed client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json --- .../openvpn_v2ray_vmess/template_v2ray_client.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json b/client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json index fa90cba8..f354c369 100644 --- a/client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json +++ b/client/server_scripts/openvpn_v2ray_vmess/template_v2ray_client.json @@ -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" }] }] }