My understanding is that the client connect script needs to write a "2" to the client_connect_deferred_file file, then exit with a status code of 0.
When the deferred script is complete, client_connect_deferred_file needs to be rewrote with a "0" for failure or "1" for success, optionally, a user's configuration file.
I have a client connect script that writes "2" to client_connect_deferred_file, then hits a local API via async and immediately exits with status code 0. The API then updates the client_connect_deferred_file when it's done.
My OpenVPN client authenticates, then is stuck with
Code: Select all
'PUSH_REQUEST' (status=1)