Closed therishidesai closed 4 years ago
So I built a simple example server but on startup I get the following error:
MANAGEMENT: connect to [AF_INET]127.0.0.1:50389 failed: Operation now in progress (errno=36)
The command it tried to run was this:
openvpn --dev tun --management 127.0.0.1 50389 --management-client
when I run this command without management-client it works fine and I can telnet to the management interface but with management-client I get the following error.
openvpn --config server.conf --management localhost 50389
So when I run this with a the default server.conf the openvpn starts up fine and I can telnet into the management information setup.
But when I do this:
openvpn --config server.conf --management localhost 50389 --management-client
I get the following error:
MANAGEMENT: connect to [AF_INET6]::1:50389 failed: Operation now in progress (errno=36)
The only reason I am trying these two different commands is because the go-openvpn library adds the --management-client
flag here
For
config.NewConfig
is there a way to just use the default runtime dir and config dir that openvpn already uses? I'm just trying to get a basic openvpn server up and running using the library so I don't want to have to set up any specifics for the server.