OpenVPN Server crashes with --management-client flag

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
apache8080
OpenVpn Newbie
Posts: 16
Joined: Fri May 22, 2020 12:51 am

OpenVPN Server crashes with --management-client flag

Post by apache8080 » Fri May 22, 2020 12:52 am

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?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Fri May 22, 2020 1:09 am

The manual has a specific example which answers your question.

apache8080
OpenVpn Newbie
Posts: 16
Joined: Fri May 22, 2020 12:51 am

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

Post by apache8080 » Fri May 22, 2020 4:36 pm

Could you give a link to this? I have gone through the manpage and not found what I am looking for.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

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

Post by TinCanTech » Fri May 22, 2020 4:38 pm

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`

Post Reply