OpenVPN - Transferring Configuration to Client Devices

I am having extreme difficulties with transferring files between the server and the client.

I have done every step of this tutorial up to transferring data and am stuck at Transferring Configuration to Client Devices.

Basically I created a private key/public key etc… and its stored somewhere(I don’t know where) I need to connect FileZilla or any other file transferer to from my client to the server but it says I need to provide the private keys location. I have no idea how to get it or where it it and I have researched a bunch with still no success. Please help!!!

Some INFO: Using Windows 10 with Bash and Ubuntu 16.04 Very new to operating and editing servers Just want to use OpenVPN with my Server god dammit


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

The tutorial section you referenced includes:

We can start with all of the files that we just generated. These were placed within the ~/openvpn-ca/keys directory as they were created. 

When the instructions use ~ in ~/openvpn-ca/keys the ~ references the current user’s home directory (it’s a nice little shortcut to have). If you logged in as root this should translate to /root/openvpn-ca/keys or if you are logged in as a different user it would be /home/usrename/openvpn-ca/keys.

The first set of commands in this step has you copy these keys into the /etc/openvpn directory.

If you are logging in with Filezilla you will start out in your user’s home directory ~ but should not be locked in there. Clicking on .. at the top of the directory listing will move you up a directory to / and from there you can navigate to /etc/openvpn