Talk:OpenVPN

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

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

--Kelsar (talk) 13:05, 2 September 2015 (UTC)