From owner-freebsd-questions@FreeBSD.ORG Thu Mar 20 23:19:41 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 1133F1065670 for ; Thu, 20 Mar 2008 23:19:40 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6058FC14 for ; Thu, 20 Mar 2008 23:19:40 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1247639waf.3 for ; Thu, 20 Mar 2008 16:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=MQDTjjcHH4AT1jO0DfEPp7Hm4U27CPHT0jWcDKpJRo4=; b=bf28o/MuOY8Uj9nK1M+cnwgzaT64V10aVwb83HDddySuJUh9baofNng136beQ//MB7PYbt66b8nh+cY5gXqFDir8dXGNTf3ijwyHnBae1Zy7gpgHwOCeK8UXm5K/nKYnYZZh+yJX3WVUkefFD85xDZviwlCdbrlqFKk1fxxH68M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ocQvNT87/xMIWlFSwX37wug9irI5mDBJOBdO+63Edq36p1pRdAk0ehUhiDN+3CBKvQ0IAAbQ1tvw1CarLbPJOGKkgZyKsJVMDS6Amlea36Mj/AASr/sPUKvFiFcYM4zMmGyGhxsUNGVZK5JJzwba65uVZ/qRmvNEBYDJxf0/8sg= Received: by 10.114.149.2 with SMTP id w2mr4742856wad.29.1206055179467; Thu, 20 Mar 2008 16:19:39 -0700 (PDT) Received: by 10.114.168.6 with HTTP; Thu, 20 Mar 2008 16:19:39 -0700 (PDT) Message-ID: <8f82c35c0803201619o6cbb96b7i8229f9b0f5c9c054@mail.gmail.com> Date: Fri, 21 Mar 2008 00:19:39 +0100 From: "Jon Theil Nielsen" To: "Alexander Motin" In-Reply-To: <47E2B2D0.9070201@FreeBSD.org> MIME-Version: 1.0 References: <47E2B2D0.9070201@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ian Smith , freebsd-questions@freebsd.org Subject: Re: mpd pptp server? 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: Thu, 20 Mar 2008 23:19:41 -0000 2008/3/20, Alexander Motin : > > On Wed, 19 Mar 2008 00:43:58 +0100 Jon Theil Nielsen > wrote: > > > Do I need to have a customized kernel to make it work? Or are there any > > obvious errors in the above configuration? > > > Mpd4 should work without special system tuning. The best way to find the > problem is to read it's logs. Mpd writes detailed logs using syslog (you > should configure syslog.conf for it alike to ppp) and to the stdout if > running in foreground. I finally got it working with mpd4 (can only check it from my own private network right now). Files are as follow ====/usr/local/etc/mpd4/mpd.conf==== startup: default: load pptp1 pptp1: new -i ng0 pptp1 pptp1 set iface disable on-demand set iface enable proxy-arp set iface idle 0 set iface enable tcpmssfix set bundle enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 192.168.1.4/32 192.168.1.151/32 set ipcp dns 195.184.96.2 213.173.225.86 set ipcp nbns 192.168.1.4 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless ====/usr/local/etc/mpd.links==== pptp1: set link type pptp set pptp enable incoming set pptp disable originate Hope I can access my (Samba) homedrive from the outside. Line compression doesn't seem to work, but that has something to do with some proprietary MS stuff or what? There is now way I can authenticate via my Samba or system passowrds? Thanks for the advices so far...! Regards, Jon