OpenVPN - Transferring Configuration to Client Devices

November 4, 2016 183 views
DigitalOcean VPN Ubuntu 16.04

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 https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 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

1 Answer

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

Have another answer? Share your knowledge.