Page 1 of 1

OpenVPN Server crashes with --management-client flag

Posted: Fri May 22, 2020 12:52 am
by apache8080

Code: Select all

openvpn --config server.conf --management localhost 50389
So when I run this with a the sample server.conf the openvpn starts up fine and I can telnet into the management information setup.

But when I do this:

Code: Select all

openvpn --config server.conf --management localhost 50389 --management-client
I get the following error:

Code: Select all

MANAGEMENT: connect to [AF_INET6]::1:50389 failed: Operation now in progress (errno=36)
Any ideas as to what would cause

Code: Select all

--management-client
to make the server crash?

Re: OpenVPN Server crashes with --management-client flag

Posted: Fri May 22, 2020 1:09 am
by TinCanTech
The manual has a specific example which answers your question.

Re: OpenVPN Server crashes with --management-client flag

Posted: Fri May 22, 2020 4:36 pm
by apache8080
Could you give a link to this? I have gone through the manpage and not found what I am looking for.

Re: OpenVPN Server crashes with --management-client flag

Posted: Fri May 22, 2020 4:38 pm
by TinCanTech
I cannot give you a link because there is no link in the manual for me to do so.

Try this: https://community.openvpn.net/openvpn/w ... n24ManPage

The same example is given in both the webpage and `man openvpn`