From owner-freebsd-questions Tue Sep 10 13:39:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B291037B400 for ; Tue, 10 Sep 2002 13:39:13 -0700 (PDT) Received: from bluewin.ch (18.173.186.195.dial.bluewin.ch [195.186.173.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9578943E65 for ; Tue, 10 Sep 2002 13:39:11 -0700 (PDT) (envelope-from pcservi@spectraweb.ch) Received: (from martin@localhost) by bluewin.ch (8.12.5/8.12.5) id g8AKfjlA001272; Tue, 10 Sep 2002 22:41:45 +0200 (CEST) (envelope-from pcservi@spectraweb.ch) Date: Tue, 10 Sep 2002 22:41:44 +0200 From: Martin Schweizer To: dave Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vpn under fbsd. Message-ID: <20020910204144.GD1062@bluewin.ch> Reply-To: Martin Schweizer Mail-Followup-To: dave , freebsd-questions@FreeBSD.ORG References: <000501c2584f$e4cbd720$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c2584f$e4cbd720$0200a8c0@satellite> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Dave Am Mon, Sep 09, 2002 at 06:26:06PM -0400 dave schrieb: > Hello, > I'm trying to set up my FreeBSD 4.5 box to act as a vpn. I found a > document outlining how to get poptop working with user ppp however the below > ppp.conf excerpt is generating errors and i'm not sure why. It's starting > out with the > set dial > line and saying that invalid label missing colon on the lines starting with > the set dial line and proceeding until the end of the file. > Any advice appreciated. > Also, in this configuration, will i have the use of encryption? > Thanks. > Dave. > > loop: > set timeout 0 > set log phase chat connect lcp ipcp command > set device localhost:pptp > set dial > set login > # Server (local) IP address, Range for Clients, and Netmask > set ifaddr 192.168.0.129 192.168.0.130-192.168.0.139 255.255.255.255 > set server /tmp/loop "" 0177 > > loop-in: > set timeout 0 > set log phase lcp ipcp command > allow mode direct > > pptp: > load loop > enable chap > disable pap > # Authenticate against /etc/passwd > enable passwdauth > enable proxy > accept dns > # DNS Servers to assign client > set dns 192.168.0.1 192.168.0.2 > # NetBIOS/WINS Servers to assign client > set nbns 192.168.0.15 192.168.0.16 > set device !/etc/ppp/secure What does the ppp.log mean? -- Regards Martin Schweizer PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message