Page 1 of 1

OpenVPN Plugin (duo/auth-pem)

Posted: Tue Jul 19, 2022 9:38 am
by wrongdongdirection
Hello dear forum

I have created the OpenVPN community on my Debian 11 with a script. This all works flawlessly and I can connect. Now I have the following problems, which I have researched and get nowhere.

I have configured OpenVPN server so that this makes with the plugin openvpn-plugin-auth-pam.so via-env as well as client-side (auth-user-pass and script-security 2/3) a login query. But this does not work. I can enter any login that does not exist on the server and it still connects. I have the same problem with DUO (MF2). I set it up as officially described and still I can enter some random password and the connection is initalized.

Furthermore I wanted to check the logs (Server.conf -> log-append openvpn.log) and still nothing is logged.

Do you have any idea what the problem could be? Because I am running out of ideas

Thanks a lot!!

Re: OpenVPN Plugin (duo/auth-pem)

Posted: Sun Jul 24, 2022 1:30 am
by openvpn_inc
Hi wdd,

If the thing is running but not logging, perhaps you have the wrong permissions on the log file, or a disk full? Default logging is to syslog, does that work if you remove --log-append?

You will of course need to share some actual information after you get the logging to work. If all else fails you can log to stdout by removing the log-append line.

regards, rob0