Ask Your Question

TobyGoodwin's profile - activity

2012-04-21 22:56:30 -0500 received badge  Teacher (source)
2012-04-21 22:56:30 -0500 received badge  Necromancer (source)
2012-04-21 08:10:37 -0500 answered a question Does F16 no longer support starting openvpn as a service?

Sure it does, although the user tools don't quite work as smoothly as you'd hope.

I have an openvpn tunnel tun427 (so its configuration is in /etc/openvpn/tun427.conf and its key in /etc/openvpn/tun427.key).

To start this:

systemctl start openvpn@tun427.service

to stop it:

systemctl stop openvpn@tun427.service

But to automatically start it at boot time, you can't say systemctl enable openvpn@tun427.service. (I think this is probably a bug.) Instead, make the link manually:

ln -s /lib/systemd/system/openvpn@.service /etc/systemd/system/multi-user.target.wants/openvpn@tun427.service

Hope this helps,

#t