help with starting openvpn@.server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
help with starting openvpn@.server
i've been working on this for over 3 months this is my first time asking for a hand, i've read all kind off topics, a few short pdfs and I'm skimming through the openvpn cookbook but i always get stuck at the server , i can't get it started, i ran systemctl start openvpn@.server
i get errors unit name openvpn@.service is missing the instance name i've looked into this
and i'm assuming it is because i don't have a key file in the proper place, and this is my question
what files go into what folders on the server side in order to allow the server@service to launch?
i get errors unit name openvpn@.service is missing the instance name i've looked into this
and i'm assuming it is because i don't have a key file in the proper place, and this is my question
what files go into what folders on the server side in order to allow the server@service to launch?
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: help with starting openvpn@.server
Try
where port443 = port443.conf
For client
Files can go into
and
Code: Select all
systemctl start openvpn-server@port443
For client
Code: Select all
systemctl start openvpn-client@port443
Code: Select all
/etc/openvpn/server
Code: Select all
/etc/openvpn/client
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
i'm getting openvpn-server@443.service entered a failed state.
options error: in cmd-line :1 error opening configuration.
options error: in cmd-line :1 error opening configuration.
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
where do i find the 443conf file I didn't see one in the examples folder, could i create a file from one of the others? when i find the conf file where then is the proper file path for it?
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: help with starting openvpn@.server
Ok, I think you need to start here:
https://community.openvpn.net/openvpn/wiki/HOWTO
https://community.openvpn.net/openvpn/wiki/HOWTO
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
i'm sorry , i didn't see the last link you had posted, i have the .conf extension , i think i'm confused on what files go in with the conf files
in the /etc/openvpn/client i have client.crt client.key ta.key dhp4096.pem and the client.conf . and in the server folder i have dhp4096.pem ta.key and server.conf.
is this correct?
in the /etc/openvpn/client i have client.crt client.key ta.key dhp4096.pem and the client.conf . and in the server folder i have dhp4096.pem ta.key and server.conf.
is this correct?
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
ok. thanks for the links and help provided.
if any one could could provide me with a link to proper key and file placement the previous link was helpful but for some reason i can't get my mind around it.
if any one could could provide me with a link to proper key and file placement the previous link was helpful but for some reason i can't get my mind around it.
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
i also think i am having some routing issues, if anyone could also post a few good links on decent iptables and openvpn.
-
- OpenVpn Newbie
- Posts: 11
- Joined: Fri Apr 19, 2019 2:53 am
Re: help with starting openvpn@.server
i've taken a look at my logs and it's telling me that openvpn/server/ca.crt no file or directory
openvpn/server/server.crt no such file or directory
cannot stat file /server/server.key no file
options error --key fails with /server/server.key no file .
but i have these files in these directories.
openvpn/server/server.crt no such file or directory
cannot stat file /server/server.key no file
options error --key fails with /server/server.key no file .
but i have these files in these directories.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Apr 23, 2019 8:42 am
Re: help with starting openvpn@.server
Hi there. Thanks for the useful links. It would be great to have a separate thread with important info so before ask you can go there and have a look probably you will find an answer there.