Okay, so the problem is that OpenVPN runs authentication on its main thread, synchronous / blocking mode, and this makes all traffic hang.
This is a known wontfix problem, OpenVPN instead provides an API for auth plugins to do 'deferred' asynchronous authentication.
-
https://community.openvpn.net/openvpn/ticket/222
-
https://community.openvpn.net/openvpn/ticket/585
OpenVPN ships with a single plugin, openvpn-auth-pam, which can be used for LDAP auth on linux, but async mode needs to be enabled through an environment variable. If you can make the auth work through the OS's PAM, see
https://github.com/OpenVPN/openvpn/blob/master/src/plugins/auth-pam/README.auth-pam
There are third-party plugins that act as an async wrapper for auth scripts. One is mentioned here, but you'd need to write a script...
-
https://redmine.pfsense.org/issues/7905
Openvpn-auth-ldap is a third-party plugin. If that's what you're using to do ldap auth, then see
https://github.com/threerings/openvpn-auth-ldap/issues/66 and
https://github.com/threerings/openvpn-auth-ldap/pull/67 however it seems the plugin's development has stopped in 2018.