OPNsense Forum

English Forums => Development and Code Review => Topic started by: olest on March 08, 2025, 09:45:04 AM

Title: OpenVPN OTP prompt now included in Windows client
Post by: olest on March 08, 2025, 09:45:04 AM
Have anyone tried the "new" OpenVPN Windows client with combined password and OTP prompt?

Saw this in OpenVPN client setting: "Prompt for OTP and combine with password"
Title: Re: OpenVPN OTP prompt now included in Windows client
Post by: viragomann on March 08, 2025, 10:01:38 AM
Quote from: olest on March 08, 2025, 09:45:04 AMHave anyone tried the "new" OpenVPN Windows client with combined password and OTP prompt?
What do you mean with the "new OpenVPN Windows client"?

I use OpenVPN GUI on Windows with TOTP. And yes, it prompts for the OTP if you have added the line to the config.
Title: Re: OpenVPN OTP prompt now included in Windows client
Post by: olest on March 08, 2025, 03:49:22 PM
Which line do you add?
Title: Re: OpenVPN OTP prompt now included in Windows client
Post by: mimugmail on March 08, 2025, 04:22:08 PM
static-challenge auth or so, but this parameter will deprecate in favor of new feature in openvpn 2.7
Title: Re: OpenVPN OTP prompt now included in Windows client
Post by: viragomann on March 09, 2025, 06:27:02 PM
static-challenge "Time-based one-time password:" 1
The text enclosed between quotes can be changed.

I entered this into the custom config field in the client export, so it's already integrated in exported configs.