Openvpn

From James's Wiki
Revision as of 17:25, 14 January 2018 by Ractive (talk | contribs) (Created page with "Working with systemd With the transition to systemd, OpenVPN no longer has a single monolithic init script, where every connection with a configuration file in /etc/openvpn/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Working with systemd

With the transition to systemd, OpenVPN no longer has a single monolithic init script, where every connection with a configuration file in /etc/openvpn/ is started automatically. Instead, individual connections can be started and stopped with systemctl.

For example, to start a connection, run systemctl start openvpn@foo.service, where the connection is defined in /etc/openvpn/foo.conf.

For more information, see Systemd#How_do_I_start.2Fstop_or_enable.2Fdisable_services.3F. http://fedoraproject.org/wiki/Systemd#How_do_I_start.2Fstop_or_enable.2Fdisable_services.3F


Sources

http://fedoraproject.org/wiki/Openvpn