Re: Openvpn under Fedora-16



On Fri, 2012-01-06 at 01:10 +0100, Timothy Murphy wrote:
I can start openvpn with
[tim@blanche ~]$ sudo systemctl start openvpn@xxxxxxxxxxxxxx
(My openvpn config file is /etc/openvpn/client.conf ,
which I think is more or less standard.)

But I don't know how to turn it on permanently, eg I get
[tim@blanche ~]$ sudo systemctl enable openvpn@xxxxxxxxxxxxxx
Failed to issue method call: No such file or directory

The whole thing seems to me extraordinarily badly documented,
even by Linux standards.
Or is it a bug?

Do you want to run as client or as server? Clients are run from
NetworkManager (I am running openvpn under F16 that way). And there is
a /lib/systemd/system/openvpn@.service so you have to manually creeate
a /etc/systemd/system/openvpn@<yourconfigname>.service and enable that.
Have a look at the vncserver service file for some details

And, yes, I agree: documentation is pretty thin
Louis

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Relevant Pages

  • Openvpn under Fedora-16
    ... (My openvpn config file is /etc/openvpn/client.conf, ... which I think is more or less standard.) ... $ sudo systemctl enable openvpn@xxxxxxxxxxxxxx ... s-mail: School of Mathematics, Trinity College Dublin ...
    (Fedora)
  • Re: Openvpn under Fedora-16
    ... (My openvpn config file is /etc/openvpn/client.conf, ... which I think is more or less standard.) ... $ sudo systemctl enable openvpn@xxxxxxxxxxxxxx ... For permanent autostart, you need to create a link manually, like this: ...
    (Fedora)
  • Re: Openvpn under Fedora-16
    ... (My openvpn config file is /etc/openvpn/client.conf, ... $ sudo systemctl enable openvpn@xxxxxxxxxxxxxx ... even by Linux standards. ... For permanent autostart, you need to create a link manually, like this: ...
    (Fedora)