diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 8efb827..d2674da 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -37,8 +37,8 @@ nobind dev $OVPN_DEVICE key-direction 1 remote-cert-tls server - remote $OVPN_CN $OVPN_PORT $OVPN_PROTO +$OVPN_ADDITIONAL_CLIENT_CONFIG " if [ "$mode" == "combined" ]; then echo " @@ -62,7 +62,6 @@ key ${cn}.key ca ca.crt cert ${cn}.crt tls-auth ta.key 1 -$OVPN_ADDITIONAL_CLIENT_CONFIG " fi