client1.ovpn not found

Asked by Nuno Soares

Hi there;

I'm totally new to Ubuntu.

I have followed all the steps properly on How To Set Up an OpenVPN Server on Ubuntu 16.04 on DigitalOcean.com and I am on Step 11.

However, when I input the command ls ~/client-configs/files it does not return the output client1.ovpn

Furthermore, when I also input sftp sammy@openvpn_server_ip:client-configs/files/client1.ovpn ~/ it says File"/home/sammy/client-configs/files/client1.ovpn" not found.

Can someone please help me with this? I am totally new to Ubuntu. What am I doing wrong? I am so close to completing all the steps to set up OpenVPN on Ubuntu Server 16.04 and I know I followed every step properly.

Thank you in advance,

Nuno Soares

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nuno Soares
Solved:
Last query:
Last reply:
Revision history for this message
Nuno Soares (nunz) said :
#1

Also when I input cd ~/client-configs and then ./make_config.sh client1 it says -bash: ./make_config.sh: Is a directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

If you want a box you can proxy through then you only need to edit one file, you can then setup an SSH tunnel and send your data through that. You don't need a VPN unless you are connecting to more than one system on the other side.

If you run:

sudo updatedb; locate *.ovpn

What is the output?

Thanks

Revision history for this message
Nuno Soares (nunz) said :
#3

There is no output. It just returns me to the next line.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Do you just want a system you can Web browse through?

Revision history for this message
Nuno Soares (nunz) said :
#5

I am attempting to set up a VPN so I can use all my computers on.

Revision history for this message
Nuno Soares (nunz) said :
#6

How was that question helpful to resolving the issue?

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

 -bash: ./make_config.sh: Is a directory
indicates that you apparently made an error in one of the steps before (

What is the output of
ls -la ~/client-configs
ls -la ~/client-configs/*/

Maybe you can just repeat from the beginning of step 10.

Revision history for this message
Nuno Soares (nunz) said :
#8

Ok thank you. I will attempt this.

Revision history for this message
Nuno Soares (nunz) said :
#9

I just completed set 10 over again. When I go to save make_config.sh under client-configs it says error writing */client-configs/make_config.sh: Is a directory

How do I get rid of this directory then so I can save /make_config.sh?

Thank you in advance.

Revision history for this message
Nuno Soares (nunz) said :
#10

Okay I figured out how to delete the directories that I made mistakes on and now I'm doing step 10 yet over again. Thank you so much for your help. Hopefully this time I get it right.

Revision history for this message
Nuno Soares (nunz) said :
#11

Thank you so much. I appreciate your help. I was so certain I had completed every step properly. But you were right. I had to do step 10 over again.

Cheers,
Nuno

Revision history for this message
Nuno Soares (nunz) said :
#12

It worked like a charm.

Thanks.