Fw: OpenVPN Setup

Kevin Wilcox kevin.wilcox at gmail.com
Wed May 11 00:09:31 UTC 2011


On Tue, May 10, 2011 at 19:59, Bill Tillman <btillman99 at yahoo.com> wrote:

> This is a very frustrating process but I think I'm getting there. The files
> I created on the FreeBSD server which I copied over are:
>
>    client1.crt
>    client1.csr
>    client1.key
>
> But the windows setup appears that it wants one of these files to be called
> 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:

====================================

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

====================================

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

kmw


More information about the freebsd-questions mailing list