From owner-freebsd-questions@FreeBSD.ORG Tue May 10 22:29:35 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 E595B106564A for ; Tue, 10 May 2011 22:29:35 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from nm26-vm0.bullet.mail.bf1.yahoo.com (nm26-vm0.bullet.mail.bf1.yahoo.com [98.139.213.74]) by mx1.freebsd.org (Postfix) with SMTP id 8CA578FC08 for ; Tue, 10 May 2011 22:29:35 +0000 (UTC) Received: from [98.139.212.153] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 10 May 2011 22:29:35 -0000 Received: from [98.139.212.248] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 10 May 2011 22:29:35 -0000 Received: from [127.0.0.1] by omp1057.mail.bf1.yahoo.com with NNFMP; 10 May 2011 22:29:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 91290.81651.bm@omp1057.mail.bf1.yahoo.com Received: (qmail 39919 invoked by uid 60001); 10 May 2011 22:29:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1305066574; bh=bQGiE4dTQpux7EMcRvJ63wmfxIW74lEHVxBG+IZ7ggw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=mUxNLFsYjv2RMQ//HrGwqqoYlGhWcCGhn0iaPOpfHaPZA/T7Ly5dd/zsXQOpaJdn95+3MTaWzw4AIMKaSyoLsQEaJSpc+ywMkxzTYhWeYckivfV9IKiitbKAZp+zHhYy9qTVdaFfdh78O/dycbudaFh+/Vcvae56ldviw8ZhwH4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=co0mRIxCTCw3sksbTBfBFdsnkxNVGGEZrUlHYsd07z1kKuP/Xs9dIwXE97EI7nWNlTsM5FU00mfqroVjmhE55c9lRu+kMi264DXQ8KRVBNfV6WUvY9xzTnZ5762Cv9vZp0Vz3eJ5iGs73E6qHquqJ8NpeK3F3E+eEH1Cty5SDMk=; Message-ID: <449629.98628.qm@web36503.mail.mud.yahoo.com> X-YMail-OSG: ZRMU6JIVM1l7Z8CHWet7OqQRhpVTRyLALNoIFk1jaZJe176 KjaNtRiuUWWj88YgpxWqfNDMvbper2edLj7JuEeOE1En3FLnxsPuNb2MCFMo 6fzmLLJNyrAeAg6S7vKojnLZpFfCz3cxFpl9sDpb.mrL2.iUtebpTw0Ilkrh bQVRDguXuLgu2EVi6iXW2I4EKOzXbJ0x5Lu0YDGpcG8mRmG3R5Y7KWXtZXqE Oa8Or7FrOZGJNpkdGItcaHNVVfIF58aniA4dC4xYvGRBNPouHZyWnHg3W1FU HRuz11qBIOUX3UnotGCus2DzdynXO4mIgW5pSwYUfXrcV9qa.of418DOTsve 17mAklMbrOMzbePV5jxQSoFklDf6bLNYHifDmPd8nt3UPaEXuC8KWjnGV6f4 v2K9tn4DuumhWak7aul3Lk2UyPUumq3BU0nhUXNd1hUE6Z1J4Zz_hzQq5cvE rSJ7AZedHPMsBwbTCHEKcnZT8.F020cGxVJiEMEPNymOtbA-- Received: from [98.242.233.74] by web36503.mail.mud.yahoo.com via HTTP; Tue, 10 May 2011 15:29:34 PDT X-Mailer: YahooMailRC/559 YahooMailWebService/0.8.110.299900 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> Date: Tue, 10 May 2011 15:29:34 -0700 (PDT) From: Bill Tillman To: Chuck Swiger In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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: Tue, 10 May 2011 22:29:36 -0000 Yes, I got that after a few searches...I ended up installing bash because s= o =0Amany things these days are Linux centric and bash is the default shell= on Linux. =0AI through all the setup and created the certificates. Now to = fire it up and then =0Atake my laptop down to Starbucks and try to login.= =0A=0A=0A=0A=0A________________________________=0AFrom: Chuck Swiger =0ATo: Bill Tillman =0ACc: freebsd-questio= ns@freebsd.org=0ASent: Tue, May 10, 2011 6:02:13 PM=0ASubject: Re: OpenVPN = Setup=0A=0AOn May 10, 2011, at 2:50 PM, Bill Tillman wrote:=0A>> OpenVPN's = site provides fine documentation:=0A>> =0A>>=C2=A0 http://openvpn.net/index= .php/open-source/documentation.html=0A>>=C2=A0 =0A>>http://openvpn.net/inde= x.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html= =0A>>=0A[ ... ]=0A> I'm working through the docs you referenced in the HOWT= O and it says:=0A> Next, initialize the PKI. On Linux/BSD/Unix:=0A> =0A> . = ./vars=0A> ./clean-all=0A> ./build-ca=0A=0AIf you're trying to setup a CA f= or PKI, then you're not following the static key =0Adocument:=0A=0A"Static = Key Mini-HOWTO=0A=0AIntroduction=0A=0AStatic key configurations offer the s= implest setup, and are ideal for =0Apoint-to-point VPNs or proof-of-concept= testing.=0A=0AStatic Key advantages=0A=0A=C2=A0=C2=A0=C2=A0 =E2=80=A2 Simp= le Setup=0A=C2=A0=C2=A0=C2=A0 =E2=80=A2 No X509 PKI (Public Key Infrastruct= ure) to maintain"=0A=0A> the vars file is not executable and from what I se= e in the Makefile they want =0A>to chmod it to 644....I tried /bin/sh ./var= s and it seemed to work but then when =0A>I run ./clean-all which is execut= able I get=0A> Please source the vars script first (i.e. ". ./vars")=0A=0AY= es.=C2=A0 The directions assume you are running /bin/sh (or Bourne-compatib= le shells =0Abash, ksh, zsh, etc).=0A=0ADo that, and ". ./vars" will work.= =C2=A0 Running "/bin/sh ./vars" also works, but is =0Auseless because it ch= anges the variables in a subshell which exits once it =0Afinishes processin= g the ./vars file.=0A=0A> Make sure you have edited it to reflect your conf= iguration.=0A> I'm stumped as this appears to be something Linux will handl= e but not =0A>FreeBSD....any suggestions?=0A=0AYes, follow the directions.= =C2=A0 OpenVPN works fine on FreeBSD.=0A=0ARegards,=0A-- =0A-Chuck=0A=0A___= ____________________________________________=0Afreebsd-questions@freebsd.or= g mailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-question= s=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org"=0A