Date: Fri, 21 Mar 2008 00:19:39 +0100 From: "Jon Theil Nielsen" <jontheil@gmail.com> To: "Alexander Motin" <mav@freebsd.org> Cc: Ian Smith <smithi@nimnet.asn.au>, freebsd-questions@freebsd.org Subject: Re: mpd pptp server? Message-ID: <8f82c35c0803201619o6cbb96b7i8229f9b0f5c9c054@mail.gmail.com> In-Reply-To: <47E2B2D0.9070201@FreeBSD.org> References: <Pine.BSF.3.96.1080320130700.25539A-100000@gaia.nimnet.asn.au> <47E2B2D0.9070201@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/3/20, Alexander Motin <mav@freebsd.org>: > > On Wed, 19 Mar 2008 00:43:58 +0100 Jon Theil Nielsen > <jontheil@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8f82c35c0803201619o6cbb96b7i8229f9b0f5c9c054>