Commit 47f4dea8 authored by Johannes Zellner's avatar Johannes Zellner

TCP port variables are not prefixed with CLOUDRON_

parent de713844
#!/bin/bash
echo "# Server TCP/${CLOUDRON_VPN_TCP_PORT:?}
echo "# Server TCP/${VPN_TCP_PORT:?}
mode server
tls-server
proto tcp
port ${CLOUDRON_VPN_TCP_PORT:?}
port ${VPN_TCP_PORT:?}
dev tun
dev-node /app/code/net-tun
# Keys and certificates
......
......@@ -55,7 +55,7 @@ client
tls-client
dev tun
proto tcp-client
remote ${process.env.CLOUDRON_APP_DOMAIN} ${process.env.CLOUDRON_VPN_TCP_PORT}
remote ${process.env.CLOUDRON_APP_DOMAIN} ${process.env.VPN_TCP_PORT}
resolv-retry infinite
cipher AES-256-CBC
auth SHA256
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment