From owner-freebsd-questions@FreeBSD.ORG Wed May 11 00:09:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43807106566C for ; Wed, 11 May 2011 00:09:31 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 02BDB8FC08 for ; Wed, 11 May 2011 00:09:30 +0000 (UTC) Received: by iyj12 with SMTP id 12so8065978iyj.13 for ; Tue, 10 May 2011 17:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EIiW9KAJ74U+IwCnYEfH84H7QskjkRCVzlCHenAxLb8=; b=mMlMfr7kyMfR9zI25mIikbr6BIRhewGkq2bPg+vJYEXDKTTicYcJ4+ViFMzbxiLE6C WirxDVedmrYpQf5GCVHMHGAl6oH0lG/Zibp69eJh3c8DxWQ4Hz2xi7eY/rBM89TbZmZP xxjAKr62p0ifAi9PRZmt818YN21uvg/UDuIiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FVvmRFffuLbZctUAmX2klKiSMF3E+VbWj8EIg2C1ig+msBXk6jl+lpI4rgrQMkd7np b4Q274/tBkRfLMT1ul4WC2l28vzD6niIagqd5djDmxQFdwX3/8fgWvdEAsc72rfn3/ZB ZNV0E/xM5moBOqi8vd5Fzea4u7niu0csNchok= MIME-Version: 1.0 Received: by 10.231.179.143 with SMTP id bq15mr1637548ibb.99.1305072570473; Tue, 10 May 2011 17:09:30 -0700 (PDT) Received: by 10.231.36.2 with HTTP; Tue, 10 May 2011 17:09:30 -0700 (PDT) In-Reply-To: <941386.58309.qm@web36504.mail.mud.yahoo.com> References: <4DC97839.6010108@mage.hu> <4DC982B2.6090303@mage.hu> <4DC98B05.7080503@mage.hu> <20110510221009.49a1c6ea@ukr.net> <180587.39161.qm@web36506.mail.mud.yahoo.com> <947562.11016.qm@web36501.mail.mud.yahoo.com> <14901.7464.qm@web36505.mail.mud.yahoo.com> <870923.47762.qm@web36506.mail.mud.yahoo.com> <941386.58309.qm@web36504.mail.mud.yahoo.com> Date: Tue, 10 May 2011 20:09:30 -0400 Message-ID: From: Kevin Wilcox To: Bill Tillman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Fw: OpenVPN Setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2011 00:09:31 -0000 On Tue, May 10, 2011 at 19:59, Bill Tillman 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