Activating OpenVPN in Ubuntu 16.04

Problem Description: In Ubuntu 16.x attempting to restart the OpenVPN service does not activate the configuration in /etc/openvpn and no error logs are generated.

Root Cause: In older versions of Ubuntu, simply restarting the openvpn service was enough to activate the configuration in /etc/openvpn, however in Ubuntu 16, this is no longer the case, you must now specify the configuration at the command line.

To start the service, we must specify the configuration to use, like so:
# systemctl start openvpn@[configurationfile_minus_conf_extension]

For instance, if we had a the file /etc/openvpn/acme.conf, to activate this configuration we would issue the following command.

# systemctl start openvpn@acme

NOTE: In the above command we have removed the .conf extension.

Comments

Popular posts from this blog

Webex Support with Windows 7

Upgrading to the Marlin firmware on the Anycubic Mega S

Installing TinyCore 8x Linux to the Hard Drive via Command Line