You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reneg-sec needs to be set to 0 when using otp because otherwise the connection will be ask for a otp every hour. Tests added to make sure it's there when otp is enabled
# Override the auth-user-pass directive to use a credentials file
41
44
docker run -v $OVPN_DATA:/etc/openvpn --rm $IMG ovpn_getclient $CLIENT| sed 's/auth-user-pass/auth-user-pass \/client\/credentials.txt/'| tee $CLIENT_DIR/config.ovpn
42
45
46
+
# Ensure reneg-sec 0 in client config when two factor is enabled
47
+
grep 'reneg-sec 0'$CLIENT_DIR/config.ovpn || abort 'reneg-sec not set to 0 in client config'
0 commit comments