OPENVPN client config

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
cadteach
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 11, 2021 12:56 am

OPENVPN client config

Post by cadteach » Mon Jan 11, 2021 1:07 am

I'm trying to setup a OPENVPN setup on my network, but don't really understand all the parts. My router (TPLINK 1750) has a OPENVPN setting, and I am trying to use that. I watched a video explanation, which showed an example setup. My question is on the client side. The router has a export for a .OVPN file, which is basically a text file. This file contains the first section which I assume is standard configuration stuff:
Client config

client
dev tun
proto udp
float
nobind

..etc. It then contains a section:
<ca>
-----BEGIN CERTIFICATE-----
xxxxx
xxxxx
</ca>

and another section for <cert> </cert> and <key></key>. I assume these are all keys used as part of the configuration.

My question is, when setting up the client side, I used the full file as the .ovpn config file, but should I instead have saved these keys in a separate file or files? In otherwords, do I need to create a file called CA.CRT and put the key in there, and if so, exactly how is it formatted, and does it contain just that one key or all three keys?

I guess I thought it (the client side install) would create these from the config file, but I can't get it to run on any machine, windows based, linux based or otherwise (ARM type machine) I don't understand what files need to be created and what directories they go in.
Last edited by Pippin on Mon Jan 11, 2021 11:15 am, edited 1 time in total.
Reason: Formatting

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8374
Joined: Fri Jun 03, 2016 1:17 pm

Re: OPENVPN client config [oconf]

Post by TinCanTech » Mon Jan 11, 2021 2:59 am

The .OVPN file can be used as it is.

For other issues please start here:
viewtopic.php?f=30&t=22603

Post Reply