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:08, 6:08, Wed, Jul 16, 202515°Clight rain85 %1011 mb1 mphWind Gust: 4 mphClouds: 88%Visibility: 10 kmSunrise: 04:37Sunset: 20:52Hourly Forecast07:0015°/16°°C 1 mm 100% 8 mph 85% 1012 mb 0 mm/h10:0016°/17°°C 1 mm 100% 11 mph 86% 1012 mb 0 mm/h13:0017°/19°°C 1 mm 100% 10 mph 86% 1013 mb 0 mm/h16:0021°/21°°C 1 mm 100% 11 mph 62% 1014 mb 0 mm/h19:0020°/20°°C 0.4 mm 40% 8 mph 66% 1015 mb 0 mm/h22:0014°/14°°C 0 mm 0% 6 mph 96% 1016 mb 0 mm/h01:0013°/13°°C 0 mm 0% 4 mph 98% 1017 mb 0 mm/h04:0012°/12°°C 0 mm 0% 3 mph 97% 1017 mb 0 mm/h
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.