I am looking for some assistance with a deferred client connect script. I am running v2.6.8.
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
'PUSH_REQUEST' (status=1)
In CLI I can see a file in the
client_connect_deferred_file path that has a "1". It seems to me that OpenVPN is reading the "2", but then never checks back.