From owner-freebsd-net@FreeBSD.ORG Thu Oct 22 15:42:23 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97CB2106566B for ; Thu, 22 Oct 2009 15:42:23 +0000 (UTC) (envelope-from artem@aws-net.org.ua) Received: from alf.aws-net.org.ua (alf.aws-net.org.ua [IPv6:2001:15c0:6605:1:201:80ff:fe08:880b]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7828FC17 for ; Thu, 22 Oct 2009 15:42:22 +0000 (UTC) Received: from [192.168.32.1] (aws.aws-net.org.ua [192.168.32.1]) by alf.aws-net.org.ua (8.14.3/8.14.3) with ESMTP id n9MFgEZm044336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 22 Oct 2009 18:42:20 +0300 (EEST) (envelope-from artem@aws-net.org.ua) Message-ID: <4AE07D57.6070709@aws-net.org.ua> Date: Thu, 22 Oct 2009 18:42:15 +0300 From: Artyom Viklenko Organization: Art&Co. User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "Mathieu L." References: <95a7a803a4435ee1e8e7a161174994ae@iram.fr> In-Reply-To: <95a7a803a4435ee1e8e7a161174994ae@iram.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.2 at alf.aws-net.org.ua X-Virus-Status: Clean Cc: freebsd-net@freebsd.org Subject: Re: problem with pptp, using mpd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 15:42:23 -0000 Mathieu L. wrote: > Hello, > > I am having trouble using mpd, I want to connect to a vpn with pptp > (vpn service provided by relakks.com). > > Here is my configuration: > > mpd.conf: > ######################### > > default: > load relakks > > relakks: > create bundle static B1 > set iface route default > set ipcp ranges 0.0.0.0/0 0.0.0.0/0 > # Enable Microsoft Point-to-Point encryption (MPPE) > set bundle enable compression > set ccp yes mppc > set mppc yes e128 > set bundle enable crypt-reqd > set mppc yes stateless > > create link static L1 pptp > set link action bundle B1 > # Enable both sides to authenticat each other with CHAP > set auth disable internal > set auth authname "lejatorn" > set auth password "XXXXXXXX" > set link no pap > set link no eap > set link yes chap > set link mtu 1460 > set link keep-alive 10 75 > set link max-redial 0 > # Configure PPTP and open link > set pptp peer pptp.relakks.com > set pptp disable windowing > set link enable incoming > open > > try to add these: set auth authname set link enable no-orig-auth -- Sincerely yours, Artyom Viklenko. ------------------------------------------------------- artem@aws-net.org.ua | http://www.aws-net.org.ua/~artem FreeBSD: The Power to Serve - http://www.freebsd.org