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" }] }] }