Howto make client1.ovpn

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
happydaddy
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 14, 2018 3:12 pm

Howto make client1.ovpn

Post by happydaddy » Tue Aug 14, 2018 4:03 pm

I am attempting to have OpenVPN server and client on Windows 7 systems.

I followed most of the directions on howto.html, I say most because it's not easy to follow so I am not sure about it.
After 8 hours, I finally got the server to say "Assigned IP 10.8.0.1"

When I ran the command "build-key client1" it created:

Code: Select all

01.pem
client1.crt
client1.csr
client1.key
but there isn't a "client1.ovpn" file.

I attempted to create one by hand using the posting here:
viewtopic.php?f=22&t=26848&p=80457&hilit=client1#p80457

But I get this on the client when attempting to Connect

Code: Select all

Tue Aug 14 11:30:34 2018 disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
Options error: You must define TUN/TAP device (--dev)
Use --help for more information.
How do I create a "client1.ovpn"?


happydaddy
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 14, 2018 3:12 pm

Re: Howto make client1.ovpn

Post by happydaddy » Wed Aug 15, 2018 7:04 pm

I said that I already read the howto. They say make client1, client2 and client3 then the documentation talks about client.ovpn without saying what to do with client1, client2 and client3.

Moreover the client.conf points to files ca.crt, client.crt, client.key, ta.key while the HowTo says that client only gets the client.ovpn file, seems confusing that the conf file would be pointing to files that don't exist.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Howto make client1.ovpn

Post by TinCanTech » Wed Aug 15, 2018 8:02 pm

You will have only one file for the client if you use inline tags for your certificate & key etc.

Otherwise, you have to have all the other files as stand alone files for the client as well.

happydaddy
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 14, 2018 3:12 pm

Re: Howto make client1.ovpn

Post by happydaddy » Thu Aug 16, 2018 12:33 pm

There aren't any directions on how to make a client file with inline tags.

On the client computer, the config folder only has files: ca.crt, client.conf, client1.crt, client1.csr, client1.key, 01.pem.
The OpenVPN in the windows tasktray menu only shows "Import file", "Settings", "Exit"; shouldn't there be a "connect client"?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Howto make client1.ovpn

Post by TinCanTech » Thu Aug 16, 2018 12:49 pm

You sound disappointed by Openvpn ..

Let me explain, Openvpn community edition is created, maintained and supported by Volunteers ..
If it does not live up to your expectations then you can join those volunteers and help improve things
or you can find another solution which provides the level of support you prefer.

If you are really struggling to understand things you can contact me privately:
tincanteksup <at> gmail

Inline:
https://community.openvpn.net/openvpn/wiki/IOSinline

GUI:
https://community.openvpn.net/openvpn/w ... PN-GUI-New

happydaddy
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 14, 2018 3:12 pm

Re: Howto make client1.ovpn

Post by happydaddy » Thu Aug 16, 2018 5:13 pm

I am just tired because I spent 12+ hours to get it to connect.

I got it to work with your inline link, thank you.

However, it didn't do what I expected. Looks like I need to read Ethernet Bridging to allow both Windows computers to use file share without a WINS server.

Post Reply