I know it’s a mouth full.. but the few documents I found on the web were good yet at the same time still left some questions unanswered. So have a look at the PDF and I hope you’ll get it working. Leave a post if it helped you!
Extending-a-Debian-OpenVPN-server-with-Multi-Factor-Authentication-via-Google-Authenticator-1Categories
- WeatherBilthoven, Netherlands06:34, 6:34, Tue, Oct 14, 202513°Covercast clouds90 %1027 mb1 mphWind Gust: 2 mphClouds: 96%Visibility: 10 kmSunrise: 07:02Sunset: 17:47
wow! it worked for me!
tested on Ubuntu with pivpn installation
thanks for posting this valuable info. I’m not sure the PDF is accessible from this post. Here’s the direct link for others.
https://ulimit.nl/wp-content/uploads/2019/08/Extending-a-Debian-OpenVPN-server-with-Multi-Factor-Authentication-via-Google-Authenticator.pdf
the auth requisite is a single line, it looks like 2 lines in the pdf.