From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 08:53:03 2008 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 6B84E1065693 for ; Wed, 12 Nov 2008 08:53:03 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44]) by mx1.freebsd.org (Postfix) with ESMTP id C4FB08FC12 for ; Wed, 12 Nov 2008 08:52:59 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 21A2F9B49C; Wed, 12 Nov 2008 10:52:54 +0200 (SAST) Received: by thavinci.za.net (Postfix, from userid 1002) id 06C4A9B49B; Wed, 12 Nov 2008 10:52:54 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id E38E69B489; Wed, 12 Nov 2008 10:52:53 +0200 (SAST) From: "Marcel Grandemange" To: "'Odhiambo Washington'" References: <028901c94459$961c8780$c2559680$@za.net> <991123400811112200j62cd8176gfd8131541090cdba@mail.gmail.com> In-Reply-To: <991123400811112200j62cd8176gfd8131541090cdba@mail.gmail.com> Date: Wed, 12 Nov 2008 10:52:43 +0200 Message-ID: <02fc01c944a4$0a2a4f00$1e7eed00$@za.net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclEjAGdBcyFgUjVTh+A8BgdVeXHuQAFuj5w Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: RE: FreeBSD Mpd5 PPTP Connection 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, 12 Nov 2008 08:53:03 -0000 Unfortunately it's not that easy. I copy pasted example for a pptp client from the example file and it wouldn't connect. Under further investigation I found out it's because the example tries to connect without encryption/compression even without an authentication type. What I did find out is the unit im trying to connect to requires mschapv2 with stateless mppe 128. After searching for other sections in the config file with examples for setups like this is I built following config.. pptp_client: # # PPTP client: only outgoing calls, auto reconnect, # ipcp-negotiated address, one-sided authentication, # default route points on ISP's end # create bundle static B1 set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set iface enable tcpmssfix set ipcp yes vjcomp create link static L1 pptp set link action bundle B1 # Allow peer to authenticate us set link enable chap-msv2 set link accept chap-msv2 # Enable Microsoft Point-to-Point encryption (MPPE) set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set bundle enable crypt-reqd set mppc yes stateless set link yes acfcomp protocomp set auth authname myusernamehere set auth password mypasswordhere set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer theiphere set pptp disable windowing open However this doesn't work either. First of all I get following errors on load of mpd5: Multi-link PPP daemon for FreeBSD process 2507 started, version 5.2 (root@testvmbsd.thavinci.za.net 12:33 8-Nov-2008) Label 'startup' not found [B1] Bundle: Interface ng0 created mpd.conf:29: Incorrect context for: 'set bundle enable compression' mpd.conf:31: Incorrect context for: 'set ccp yes mppc' mpd.conf:32: Incorrect context for: 'set mppc yes e128' mpd.conf:33: Incorrect context for: 'set bundle enable crypt-reqd' mpd.conf:34: Incorrect context for: 'set mppc yes stateless' And ive got a fealing that's it's because of this that it cannot connect.. And the odd thing is that all of those options weir copy/pasted out of the sample file for mpd5!!!! Advise? From: Odhiambo Washington [mailto:odhiambo@gmail.com] Sent: Wednesday, November 12, 2008 8:01 AM To: Marcel Grandemange Subject: Re: FreeBSD Mpd5 PPTP Connection On Wed, Nov 12, 2008 at 2:59 AM, Marcel Grandemange wrote: Does anybody know where I can find help for setting this up. I have used both mpd4 and mp5 for client connections, but not inter-office connections. You just install and configure. It's not so complicated if you read the sample configuration file! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Life must be understood backwards; but... it must be lived forward." - Soren Kierkegaard "Oh My God! They killed init! You Bastards!" --from a /. post