2012-03-05

Making OpenVPN run as a service on Fedora 16

Make sure the config file is named something like myvpn.conf in
/etc/openvpn
# ln -s /lib/systemd/system/openvpn@.service /etc/systemd/system/multi-user.target.wants/openvpn@myvpn.service
Then start and stop the service manually this way:
# systemctl start openvpn@myvpn.service
# systemctl stop openvpn@myvpn.service
Or enable it to start at boot time:
# systemctl enable openvpn@myvpn.service
Thanks to those that took the time to post the solution here: http://forums.fedoraforum.org/showthread.php?t=272612

No comments: