OpenVPN client

I have Reboot (17.01.4, r3560-79f57e422d)

Im trying to install openvpn as a client. I followed this tut https://wiki.openwrt.org/doc/howto/vpn.openvpn#tab__client1

I have the ovpn file where will it go? just in ect/openvpn ? Then how do i load it and enable it?

Any help would be great total newbie please explain like im a child :slight_smile:

Thanks :smiley:

See:

Sorry that was me I was on a different device sorry if it's not allowed.

I'm still stuck tho done lots of different things but nothing seems to be working.

Again sorry

Please do not create two threads for the same issue. Also, please consider only using one account.

@tmomas, this thread appears to be a duplicate.

Refer to this openwrt wiki page for how to load ovpn file.

using ovpn file

I had a look but I don't have the crt file just one openvpn config file.

Thanks

If someone could help me ill do a video for others on youtube after i done it for others to use.

In my /etc/openvpn i have one file test.ovpn (after reading about this, i believe they only use one file now but you can split the file and made a new file called test.crt??) Im trying to use my own server as the host and want my router to use that connection.

I used this tut https://openwrt.org/docs/guide-user/services/vpn/openvpn/client
I use wget to get the two files but thats not the host i use. so i have to edit them but what with? On my server i just create a user and thought i would just have to add the .ovpn and boom it works.

Bump need help still

Do I need two files from my openvpn server ? Or is it one file I split ? Do I just use the openvpn file?

Any help would be great

Ok so have worked out where my .key file was.

so in etc/openvpn i have gklespurs.key and gklespurs.ovpn. I have edited my ovpn file. Im getting close just need a little bit more help. when i try and load in putty is says

root@LEDE:~# openvpn gklespurs.ovpn
Options error: In [CMD-LINE]:1: Error opening configuration file: gklespurs.ovpn
Use --help for more information.

Wed May 23 19:37:15 2018 daemon.notice openvpn(sample_client)[19209]: OpenVPN 2.4.4 arm-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Wed May 23 19:37:15 2018 daemon.notice openvpn(sample_client)[19209]: library versions: OpenSSL 1.0.2o  27 Mar 2018, LZO 2.10
Wed May 23 19:37:15 2018 daemon.warn openvpn(sample_client)[19209]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Wed May 23 19:37:15 2018 daemon.err openvpn(sample_client)[19209]: OpenSSL: error:02001002:lib(2):func(1):reason(2)
Wed May 23 19:37:15 2018 daemon.err openvpn(sample_client)[19209]: OpenSSL: error:2006D080:lib(32):func(109):reason(128)
Wed May 23 19:37:15 2018 daemon.err openvpn(sample_client)[19209]: OpenSSL: error:140AD002:lib(20):func(173):reason(2)
Wed May 23 19:37:15 2018 daemon.err openvpn(sample_client)[19209]: Cannot load certificate file /etc/openvpn/client.crt
Wed May 23 19:37:15 2018 daemon.notice openvpn(sample_client)[19209]: Exiting due to fatal error