Adding OTP to Authenticationfile

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
frederik.sinniger
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 31, 2023 2:14 pm

Adding OTP to Authenticationfile

Post by frederik.sinniger » Fri Mar 31, 2023 2:55 pm

Hey everyone

Im looking into automating the VPN authentication so I can easily open a VPN session to our Customers. We have to use OTPs to authenticate and there is no option to add one to a Authentication file. Is there any way of adding the Option to add a OTP into such a file? I also thought about using the cli but with the OpenVPN gui the cli is really limited. Any Ideas?

Best Regards
Frederik

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1321
Joined: Tue Feb 16, 2021 10:41 am

Re: Adding OTP to Authenticationfile

Post by openvpn_inc » Tue May 16, 2023 11:44 am

Hello Frederik,

For automated connections you really should use autologin profiles. They do not require MFA or username/password.

I am not currently aware of a way to inject MFA tokens into a fully automated connection.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply