Allow to change security related options tls-cipher, cipher and auth.

This commit is contained in:
Robin Schneider
2015-08-26 12:43:25 +02:00
parent 15ac3c89b0
commit d6209eebc2
3 changed files with 53 additions and 1 deletions

View File

@ -72,6 +72,18 @@ $OVPN_ADDITIONAL_CLIENT_CONFIG
if [ -n "$OVPN_MTU" ]; then
echo "tun-mtu $OVPN_MTU"
fi
if [ -n "$OVPN_TLS_CIPHER" ]; then
echo "tls-cipher $OVPN_TLS_CIPHER"
fi
if [ -n "$OVPN_CIPHER" ]; then
echo "cipher $OVPN_CIPHER"
fi
if [ -n "$OVPN_AUTH" ]; then
echo "auth $OVPN_AUTH"
fi
}
dir="$OPENVPN/clients/$cn"