I've got OpenVPN 2.0rc7 running on an OpenBSD 3.6 DS10 Alpha server.
The OpenVPN server works fine as far as tunneling goes.
However, when I exit the 'Management Interface', the OpenVPN daemon
for this Management Interface dies.
I've configured the "management interface' to listen to 'localhost port 1103'.
(see server configuration below).
I access the management interface with telnet, like so:
# telnet localhost 1103
Connected to localhost.
Escape character is '^]'.
INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
Connection closed by foreign host.
The outcome of this 'exit' command is that OpenVPN daemon dies
(ps -aux | grep openvpn - doesn't list it anymore)
I check the log file and find:
Thu Jan 13 14:26:53 2005 MANAGEMENT: Client connected from 127.0.0.1:1103
Thu Jan 13 14:27:07 2005 MANAGEMENT: CMD 'exit'
Thu Jan 13 14:27:07 2005 MANAGEMENT: Client disconnected
Thu Jan 13 14:27:07 2005 MANAGEMENT: Cannot bind TCP socket on 127.0.0.1:1103:
Address already in use (errno=48)
Thu Jan 13 14:27:07 2005 Exiting
Is this a bug, or am I doing something wrong ?