This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Talk:OpenVPN
From Gentoo Wiki (test)
Hi
it seems that openvpn 2.3.7 with systemd needs the directory /etc/openvpn/client. An upgrade from an earlier version works easily either by copying the files or by adding a symbolic link
ln -s /etc/openvpn /etc/openvpn/client ln -s /usr/lib/systemd/system/openvpn-client\@.service openvpn-client\@<your_openvpn_client_configuration_file>.service
and starting the service with
systemctl start openvpn-client@<your_openvpn_client_configuration_file>
Kind regards!
Hi,
the
ln -s /usr/lib/systemd/system/openvpn-client\@.service openvpn-client\@<your_openvpn_client_configuration_file>.service
line isn't needed, systemctl enable call will do the right thing with the @yourservice