start openvpn client on boot fedora 17 64bit

Reindl Harald h.reindl at thelounge.net
Sat Nov 24 17:01:59 UTC 2012



Am 24.11.2012 17:39, schrieb Brian West:
> I have an account with strong vpn im trying to get openvpn to start on boot in fedora 17 but it is not playing nice
> at all people say set it up in network manager but with strongvpn you login via a cert thats included inside your
> config file.  how can i start it as a service i followed the steps in the wikki with no luck.  can i make
> /etc/rc.local executable then place the command in there?

[root at srv-rhsoft:~]$ cat /etc/systemd/system/openvpn.service
[Unit]
Description=OpenVPN
After=network.target

[Service]
Type=forking
ExecStart=/usr/sbin/openvpn --daemon --cd /etc/openvpn/ --config openvpn.conf
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20121124/bc0d7b4d/attachment.sig>


More information about the users mailing list