Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 20:09:30 -0400
From:      Kevin Wilcox <kevin.wilcox@gmail.com>
To:        Bill Tillman <btillman99@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fw: OpenVPN Setup
Message-ID:  <BANLkTint%2BTuy%2BXP%2BoVMuQpkm00OSh_BngQ@mail.gmail.com>
In-Reply-To: <941386.58309.qm@web36504.mail.mud.yahoo.com>
References:  <4DC97839.6010108@mage.hu> <BANLkTi=1GiVgq4Uzd=yuAXpym59gPAzmyg@mail.gmail.com> <4DC982B2.6090303@mage.hu> <BANLkTik8Lu35DpHaGFiaVbB4tFgVe-uYAw@mail.gmail.com> <4DC98B05.7080503@mage.hu> <20110510221009.49a1c6ea@ukr.net> <180587.39161.qm@web36506.mail.mud.yahoo.com> <D78D1894-7B30-4C55-A6A1-91C725C5DB88@mac.com> <947562.11016.qm@web36501.mail.mud.yahoo.com> <B00CE6DE-5D7E-49C3-86FA-20D4D66B7B0E@mac.com> <14901.7464.qm@web36505.mail.mud.yahoo.com> <CF3F8BD6-A1E8-4A56-BCC4-43D71B9503C3@mac.com> <870923.47762.qm@web36506.mail.mud.yahoo.com> <BANLkTin3_8nP=UDhYCGki3VoOUYvM%2BQLBA@mail.gmail.com> <941386.58309.qm@web36504.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 10, 2011 at 19:59, Bill Tillman <btillman99@yahoo.com> wrote:

> This is a very frustrating process but I think I'm getting there. The fil=
es
> I created on the FreeBSD server which I copied over are:
>
> =C2=A0=C2=A0 client1.crt
> =C2=A0=C2=A0 client1.csr
> =C2=A0=C2=A0 client1.key
>
> But the windows setup appears that it wants one of these files to be call=
ed
> client.ovpn. Of course I can't give all of them that name so I'm stumped
> again.

You only need to copy the .crt and .key files, those are your key and
certificate for the client named client1.

They are used for authentication.

The .ovpn file (.conf on Unix) contains the information OpenVPN needs
to find your OpenVPN server. A good sample can be found at
http://openvpn.net/index.php/open-source/documentation/howto.html#examples.

For example, I give the following config to my clients:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

client
dev tun
proto udp
remote put_your_server_ip_here 1194
resolv-retry infinite
nobind
persist-key
persist-tun
route-method exe
route-delay 2
ca ca.crt
cert client1.crt
key client1.key
# only uncomment if you setup tls-auth
# tls-auth tls-auth.key 1
verb 3
comp-lzo

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Yours won't match exactly but it'll probably be awfully close.

kmw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTint%2BTuy%2BXP%2BoVMuQpkm00OSh_BngQ>