On Mon, 7 Jun 2021 11:46:02 +0200, David Sommerseth <open...@sf.lists.topphemmelig.net> wrote:
>On 07/06/2021 09:41, Bo Berglund wrote: >> 2) By adding a service >> ---------------------- >> Do the same as above with the client.ovpn file >> >> Then: >> sudo systemctl enable openvpn@client.service >> sudo service openvpn@client start >> or >> sudo systemctl start openvpn@client > > >This is also NOT recommended. > >Put client configuration files into /etc/openvpn/client ... private keys >may be placed in /etc/openvpn/private > >Then use: systemd start openvpn-client@CONFIG_NAME > >This is the only approach supported by the upstream OpenVPN project. >For more details: ><https://github.com/OpenVPN/openvpn/blob/master/distro/systemd/README.systemd> > The command you quoted above does not work, whereas this does: sudo systemctl start openvpn-client@CONFIG_NAME Must be a typo... -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users