vigilian's picture



in the doc of the openvpn appliance I've seen that it should be a module for webmin for the configuration of openvpn but can't find it and also according to that tuto:


also if I try the basics commands: addclient... I have :

openvpn-addclient LG
grep: /etc/openvpn/server.conf: No such file or directory
FATAL: unable to determine PUBLIC_ADDRESS from /etc/openvpn/server.conf


openvpn isn't configure at all from the beginning? I was under the impression that you pre-configured all the setup?

by the way, where can I find the known issues? in the issue tracker?

Jeremy Davis's picture

The OpenVPN Webmin module is abandonware and hasn't been updated for years (see here). So we haven't included that for some time. Read the current docs here. I know that's probably not an obvious place to find them.

Having said all that, AFAIK addclient should work...

Fibo's picture

I can't find any hint at what the content of this should be.
Would it be possible to get some info, eg in the github files?

Jeremy Davis's picture

If so, there was a serious bug in the v14.2 version we released a day or 2 ago (then rolled back as soon as we discovered).

So if you are using v14.2; please try again with v14.1 or wait until we (re)release a (fixed and better tested) v14.2 appliance.

If that's not the case, TBH I don't know either. AFAIK we just use the default package conf file; but then it's adjusted by the firstboot initscript and the helper scripts that we include. The main appliance build code is here on GitHub. Perhaps you may get some hints if you'd care to browse?

If this is an older server that you've had for a while, then TurnKey comes with etckeeper pre-installed, so you should be able to checkout (i.e. restore to) older versions of the current config file.

Another option is to retrieve the default conf file from the package management system. To be on the safe side, please make sure that you have a recent backup just in case.

First move your existing config; then reinstall the package telling it to replace missing config files.

mv /etc/openvpn/server.conf /etc/openvpn/server.conf.bak
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall openvpn

Add new comment